index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/values/api.web.ts
import { ValueApi as ValueApiWeb } from "./web"; export const ValueApi = ValueApiWeb; export const { createValue, createComputedValue } = ValueApi;
7,600
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/values/index.ts
export * from "./types"; export * from "./hooks"; export * from "./api"; export * from "./selector";
7,601
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/values/selector.ts
import type { SkiaValue } from "./types"; export type SkiaSelector<TReturn, TInput = unknown> = { value: SkiaValue<TInput>; selector: (v: TInput) => TReturn; }; /** * Wraps a Skia Value with a selector function. The selector function can access the * inner values of the Skia Value so that we can dynamically rea...
7,602
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/values/types.ts
export interface SkiaValue<T = number> { /** * Gets the value hold by the Value object */ readonly current: T; /** * Adds a listener that is called when value changes. * Returns unsubscribe method. */ addListener: (cb: (value: T) => void) => () => void; /** * Invalidates the value. Has diffe...
7,603
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/__tests__/selector.spec.tsx
import React from "react"; import { Fill } from "../../renderer/components"; import { mountCanvas } from "../../renderer/__tests__/setup"; import { processResult } from "../../__tests__/setup"; import { Selector } from "../selector"; describe("Value Selector", () => { it("should accept a selector descriptor as a pr...
7,604
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/hooks/index.ts
export * from "./useClockValue"; export * from "./useComputedValue"; export * from "./useValue"; export * from "./useValueEffect";
7,605
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/hooks/useClockValue.ts
import { useEffect, useMemo } from "react"; import { ValueApi } from "../api"; /** * @returns A new value that will be updated on every frame redraw with the * number of milliseconds elapsed since the value was started. * The clock is created in the stopped state. */ export const useClockValue = () => { const ...
7,606
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/hooks/useComputedValue.ts
import { useEffect, useMemo } from "react"; import { ValueApi } from "../api"; import { isValue } from "../../renderer/processors/Animations"; /** * Creates a new computed value - a value that will calculate its value depending * on other values. * @param cb Callback to calculate new value * @param values Dependa...
7,607
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/hooks/useValue.ts
import { useMemo } from "react"; import { ValueApi } from "../api"; import type { SkiaMutableValue } from "../types"; /** * Creates a new value that holds some data. * @param v Value to hold * @returns A Value of type of v */ export const useValue = <T>(v: T): SkiaMutableValue<T> => { // eslint-disable-next-lin...
7,608
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/hooks/useValueEffect.ts
import { useEffect } from "react"; import type { SkiaValue } from "../types"; /** * Sets up an effect that will be run whenever the value changes * @param value Value to subscribe to changes on * @param cb Callback to run when value changes */ export const useValueEffect = <T>(value: SkiaValue<T>, cb: (v: T) => v...
7,609
0
petrpan-code/Shopify/react-native-skia/package/src/values/hooks
petrpan-code/Shopify/react-native-skia/package/src/values/hooks/__tests__/useComputedValue.spec.tsx
import React, { useEffect, useState } from "react"; import { Fill } from "../../../renderer/components"; import { importSkia, mountCanvas, wait, } from "../../../renderer/__tests__/setup"; import { processResult } from "../../../__tests__/setup"; import type { SkiaValue } from "../../types"; const counter = { v...
7,610
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/web/RNSkAnimation.ts
import type { AnimationState, SkiaAnimation } from "../types"; import { RNSkClockValue } from "./RNSkClockValue"; export class RNSkAnimation<S extends AnimationState = AnimationState> extends RNSkClockValue implements SkiaAnimation { constructor( callback: (t: number, state: S | undefined) => S, raf: (c...
7,611
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/web/RNSkClockValue.ts
import type { SkiaClockValue } from "../types"; import { RNSkReadonlyValue } from "./RNSkReadonlyValue"; enum RNSkClockState { NotStarted = 0, Running = 1, Stopped = 2, } export class RNSkClockValue extends RNSkReadonlyValue<number> implements SkiaClockValue { constructor(raf: (callback: (time: number) =...
7,612
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/web/RNSkComputedValue.ts
import type { DependencyList } from "react"; import { RNSkReadonlyValue } from "./RNSkReadonlyValue"; export class RNSkComputedValue<T> extends RNSkReadonlyValue<T> { constructor(callback: () => T, dependencies: DependencyList) { // Initialize dependencies - we can't call this yet, since // super if not cal...
7,613
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/web/RNSkReadonlyValue.ts
import type { SkiaValue } from "../types"; export class RNSkReadonlyValue<T> implements SkiaValue<T> { constructor(value: T) { this._current = value; } private _current: T; private _listeners: Array<(value: T) => void> = []; private notifyListeners(): void { this._listeners.forEach((cb) => cb(this....
7,614
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/web/RNSkValue.ts
import type { SkiaAnimation, SkiaValue } from "../types"; import { RNSkReadonlyValue } from "./RNSkReadonlyValue"; export class RNSkValue<T> extends RNSkReadonlyValue<T> implements SkiaValue<T> { constructor(value: T) { super(value); this._unsubscribe = undefined; } public set current(value: T) { t...
7,615
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/web/api.ts
import type { ISkiaValueApi, SkiaMutableValue, SkiaValue, SkiaClockValue, AnimationState, SkiaAnimation, } from "../types"; import { RNSkAnimation } from "./RNSkAnimation"; import { RNSkClockValue } from "./RNSkClockValue"; import { RNSkComputedValue } from "./RNSkComputedValue"; import { RNSkValue } from ...
7,616
0
petrpan-code/Shopify/react-native-skia/package/src/values
petrpan-code/Shopify/react-native-skia/package/src/values/web/index.ts
export * from "./api";
7,617
0
petrpan-code/Shopify/react-native-skia/package/src/values/web
petrpan-code/Shopify/react-native-skia/package/src/values/web/__tests__/RNSkAnimation.spec.ts
import { RNSkAnimation } from "../RNSkAnimation"; import { RNSkValue } from "../RNSkValue"; describe("RNSkAnimation", () => { it("should update a value", () => { const valueToTest = new RNSkValue(0); const raf = (cb: (t: number) => void) => { cb(1); return 1; }; valueToTest.animation = ne...
7,618
0
petrpan-code/Shopify/react-native-skia/package/src/values/web
petrpan-code/Shopify/react-native-skia/package/src/values/web/__tests__/RNSkComputedValue.spec.ts
import { RNSkComputedValue } from "../RNSkComputedValue"; import { RNSkValue } from "../RNSkValue"; describe("RNSkComputedValue", () => { it("should update when dependency changes", () => { const dependency = new RNSkValue(10); const computed = new RNSkComputedValue( () => 10 * dependency.current, ...
7,619
0
petrpan-code/Shopify/react-native-skia/package/src/values/web
petrpan-code/Shopify/react-native-skia/package/src/values/web/__tests__/RNSkReadonlyValue.spec.ts
import { RNSkReadonlyValue } from "../RNSkReadonlyValue"; describe("RNSkReadonlyValue", () => { it("should expose __typename as RNSkValue", () => { const valueToTest = new RNSkReadonlyValue(100); expect(valueToTest.__typename__).toEqual("RNSkValue"); }); });
7,620
0
petrpan-code/Shopify/react-native-skia/package/src/values/web
petrpan-code/Shopify/react-native-skia/package/src/values/web/__tests__/RNSkValue.spec.ts
import { RNSkValue } from "../RNSkValue"; describe("RNSkValue", () => { it("should notify on change", () => { const valueToTest = new RNSkValue(100); const spy = jest.fn(); valueToTest.addListener(spy); valueToTest.current = 200; expect(spy).toHaveBeenCalledWith(200); }); });
7,621
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/SkiaBaseWebView.tsx
/* global HTMLCanvasElement */ import React from "react"; import type { PointerEvent } from "react"; import type { LayoutChangeEvent } from "react-native"; import type { SkRect, SkCanvas } from "../skia/types"; import type { SkiaValue } from "../values"; import { JsiSkSurface } from "../skia/web/JsiSkSurface"; import ...
7,622
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/SkiaDomView.tsx
import React from "react"; import type { HostComponent } from "react-native"; import type { SkRect } from "../skia/types"; import type { SkiaValue } from "../values"; import { Platform } from "../Platform"; import SkiaDomViewNativeComponent from "../specs/SkiaDomViewNativeComponent"; import { SkiaViewApi } from "./ap...
7,623
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/SkiaDomView.web.tsx
import { Skia } from "../skia"; import type { SkCanvas } from "../skia/types"; import { JsiDrawingContext } from "../dom/types/DrawingContext"; import { isValue } from "../renderer/processors/Animations/Animations"; import { SkiaBaseWebView } from "./SkiaBaseWebView"; import type { SkiaDomViewProps, TouchInfo } from "...
7,624
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/SkiaPictureView.tsx
import React from "react"; import type { SkRect } from "../skia/types"; import type { SkiaValue } from "../values"; import SkiaPictureViewNativeComponent from "../specs/SkiaPictureViewNativeComponent"; import { SkiaViewApi } from "./api"; import { SkiaViewNativeId } from "./SkiaView"; import type { SkiaPictureViewPro...
7,625
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/SkiaPictureView.web.tsx
import type { SkCanvas } from "../skia/types"; import type { SkiaPictureViewProps } from "./types"; import { SkiaBaseWebView } from "./SkiaBaseWebView"; export class SkiaPictureView extends SkiaBaseWebView<SkiaPictureViewProps> { constructor(props: SkiaPictureViewProps) { super(props); } protected renderIn...
7,626
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/SkiaView.tsx
import React from "react"; import type { SkRect } from "../skia/types"; import type { SkiaValue } from "../values"; import SkiaDrawViewNativeComponent from "../specs/SkiaDrawViewNativeComponent"; import { SkiaViewApi } from "./api"; import type { SkiaDrawViewProps } from "./types"; export const SkiaViewNativeId = { ...
7,627
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/SkiaView.web.tsx
import type { SkCanvas } from "../skia/types"; import type { DrawingInfo, SkiaDrawViewProps, TouchInfo } from "./types"; import { SkiaBaseWebView } from "./SkiaBaseWebView"; export class SkiaView extends SkiaBaseWebView<SkiaDrawViewProps> { constructor(props: SkiaDrawViewProps) { super(props); } protected ...
7,628
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/api.ts
import type { ISkiaViewApi } from "./types"; declare global { var SkiaViewApi: ISkiaViewApi; } export const { SkiaViewApi } = global;
7,629
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/index.ts
export * from "./SkiaView"; export * from "./SkiaPictureView"; export * from "./SkiaDomView"; export * from "./types"; export * from "./useDrawCallback"; export * from "./useTouchHandler";
7,630
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/types.ts
import type { ViewProps } from "react-native"; import type { GroupProps, RenderNode } from "../dom/types"; import type { SkCanvas, SkImage, SkPicture, SkRect, SkSize, } from "../skia/types"; import type { SkiaMutableValue, SkiaValue } from "../values"; import type { SharedValueType } from "../renderer/proces...
7,631
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/useDrawCallback.ts
import type { DependencyList } from "react"; import { useMemo } from "react"; import type { RNSkiaDrawCallback } from "./types"; /** * Creates a memoized callback for the onDraw handler of a Skia component. * @param callback The callback to memoize. * @param deps Dependencies for the callback. * */ export const u...
7,632
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/views/useTouchHandler.ts
import type { DependencyList } from "react"; import { useCallback, useRef } from "react"; import type { Vector } from "../skia/types"; import { Platform } from "../Platform"; import type { ExtendedTouchInfo, TouchHandlers, TouchHandler, TouchInfo, } from "./types"; import { TouchType } from "./types"; const ...
7,633
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/web/LoadSkiaWeb.tsx
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore import CanvasKitInit from "canvaskit-wasm/bin/full/canvaskit"; import type { CanvasKit as CanvasKitType, CanvasKitInitOptions, } from "canvaskit-wasm"; declare global { var CanvasKit: CanvasKitType; } export const LoadSkiaWeb = async (o...
7,634
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/web/WithSkiaWeb.tsx
import type { ComponentProps, ComponentType } from "react"; import React, { useMemo, lazy, Suspense } from "react"; import { Platform } from "../Platform"; import { LoadSkiaWeb } from "./LoadSkiaWeb"; interface WithSkiaProps { fallback?: ComponentProps<typeof Suspense>["fallback"]; getComponent: () => Promise<{ ...
7,635
0
petrpan-code/Shopify/react-native-skia/package/src
petrpan-code/Shopify/react-native-skia/package/src/web/index.ts
export * from "./LoadSkiaWeb"; export * from "./WithSkiaWeb";
7,636
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/build-npm-package.ts
import { executeCmdSync, checkFileExists, ensureFolderExists, getDistFolder, } from "./utils"; import fs from "fs"; import { exit } from "process"; const pck = JSON.parse(fs.readFileSync("./package/package.json").toString()); /** * This build script builds the final NPM package of the * @shopify/react-nativ...
7,637
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/build-skia-android.ts
import { configurations } from "./skia-configuration"; import { executeCmd } from "./utils"; const configuration = configurations.android; console.log("Building skia for Android..."); let command = ""; Object.keys(configuration.targets).forEach((targetKey) => { command += (command !== "" ? " && " : "") + `...
7,638
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/build-skia-ios-framework.ts
/* eslint-disable max-len */ import { configurations } from "./skia-configuration"; import { executeCmdSync, checkFileExists } from "./utils"; /** * This build script takes the prebuilt Skia Binaries and creates * iOS Fat Libraries (archives with all archs inside of one file). * * Requirements: Requires and tests ...
7,639
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/build-skia-ios.ts
import { configurations } from "./skia-configuration"; import { executeCmd } from "./utils"; const configuration = configurations.ios; console.log("Building skia for iOS..."); let command = ""; Object.keys(configuration.targets).forEach((targetKey) => { command += (command !== "" ? " && " : "") + `yarn ts-...
7,640
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/build-skia.ts
import { executeCmd, executeCmdSync } from "./utils"; import { exit } from "process"; import { commonArgs, configurations, PlatformName } from "./skia-configuration"; const fs = require("fs"); const typedKeys = <T extends object>(obj: T) => Object.keys(obj) as (keyof T)[]; /** * This build script builds the Skia Bina...
7,641
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/copy-skia-module-headers.ts
import { executeCmdSync } from "./utils"; const copyModule = (module: string) => [ `mkdir -p ./package/cpp/skia/modules/${module}/include`, `cp -a ./externals/skia/modules/${module}/include/. ./package/cpp/skia/modules/${module}/include`, ]; [ "yarn rimraf ./package/cpp/skia/modules/", ...copyModule("svg"), ...
7,642
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/get-npm-filename.ts
import fs from "fs"; import { exit } from "process"; const pck = JSON.parse(fs.readFileSync("./package/package.json").toString()); /** * This build script returns the filename of the npm package and * can be used to find the correct artifacts name. It is supposed * to be run after building the npm package where th...
7,643
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/get-npm-version.ts
import { executeCmdSync, checkFileExists, ensureFolderExists, getDistFolder, } from "./utils"; import fs from "fs"; import { exit } from "process"; const pck = JSON.parse(fs.readFileSync("./package/package.json").toString()); /** * This build script returns the version of the npm package. It is supposed * t...
7,644
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/lint-java.js
// code taken from facebook/react-native repo: // https://github.com/facebook/react-native/blob/fa0518d3d3734b397e60ae64a8ce0af06d56da28/scripts/lint-java.js "use strict"; const { exec } = require("shelljs"); const https = require("https"); const fs = require("fs"); const path = require("path"); const os = require("o...
7,645
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/skia-configuration.ts
import { executeCmdSync } from "./utils"; const NdkDir: string = process.env.ANDROID_NDK ?? ""; export const BUILD_WITH_PARAGRAPH = true; const NoParagraphArgs = [ ["skia_use_harfbuzz", false], ["skia_use_icu", false], ]; // To build the paragraph API: // On Android: we use system ICU // On iOS: we use neither s...
7,646
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/utils.ts
import { exec, execSync } from "child_process"; import { exit } from "process"; import path from "path"; import fs from "fs"; export const executeCmdSync = (command: string) => { try { return execSync(command); } catch (e) { exit(1); } }; export const executeCmd = ( command: string, label: string, ...
7,647
0
petrpan-code/Shopify/react-native-skia
petrpan-code/Shopify/react-native-skia/scripts/workflow-copy-libs.ts
import fs from "fs"; import { ensureFolderExists, copyRecursiveSync } from "./utils"; /** * This build script prepares the npm build command by copying * the Skia Binaries from the artifact folder into the libs folder * in the checkout directory. This build script is run by the * build-npm.yml workflow and does not...
7,648
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/.editorconfig
# editorconfig.org root = true [*] charset = utf-8 indent_size = 2 indent_style = space insert_final_newline = true trim_trailing_whitespace = true # Markdown syntax specifies that trailing whitespaces can be meaningful, # so let’s not trim those. e.g. 2 trailing spaces = linebreak (<br />) # See https://daringfireba...
7,649
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/.eslintrc.js
const path = require('path'); const packages = require('./package.json').workspaces.packages; module.exports = { root: true, extends: [ 'plugin:@shopify/typescript', 'plugin:@shopify/react', 'plugin:@shopify/jest', 'plugin:@shopify/node', 'plugin:@shopify/polaris', 'plugin:@shopify/prettie...
7,650
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/.nvmrc
v18.12.0
7,651
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/.prettierignore
.next dist node_modules /polaris-react/build /polaris-react/build-internal /polaris.shopify.com/public/sandbox
7,652
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/.prettierrc
{ "singleQuote": true, "bracketSpacing": false, "trailingComma": "all", "overrides": [ { "files": "**/*.md", "options": { "parser": "mdx" } } ] }
7,653
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/.stylelintrc.js
/** @type {import('stylelint').Config} */ module.exports = { extends: ['@shopify/stylelint-plugin/prettier', './stylelint-polaris'], // Disabling @shopify/stylelint-plugin/configs/core no-unknown-animations as stylelint is not aware of global Polaris keyframes // TODO: create custom plugin to ensure animation-nam...
7,654
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/LICENSE.md
Copyright (c) 2017-present Shopify Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
7,655
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/README.md
<div align="center"> <a href="https://polaris.shopify.com"><img src="https://github.com/Shopify/polaris/blob/main/documentation/readme.png?raw=true" alt="" /></a> </div> # Polaris > Build. Contribute. Evolve. Shape the merchant experience for Shopify’s core product, the admin. [![storybook](https://shields.io/badg...
7,656
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/babel.config.js
/** * @type {import('@babel/core').TransformOptions} */ module.exports = function (api) { const envName = api.env(); const development = envName === 'development' || envName === 'test'; return { presets: [ [ '@babel/preset-env', {useBuiltIns: 'entry', corejs: '3.0', bugfixes: true}, ...
7,657
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/dev.yml
name: polaris up: - node: yarn: v1.22.18 version: v18.12.0 # to be kept in sync with .nvmrc and .github/workflows/ci.yml - custom: name: Build monorepo met?: yarn build --output-logs=none meet: 'true' commands: server: yarn dev
7,658
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/jest.config.js
module.exports = { projects: [ // '<rootDir>/polaris-for-vscode', '<rootDir>/polaris-icons', '<rootDir>/polaris-react', '<rootDir>/polaris-tokens', // '<rootDir>/polaris.shopify.com', '<rootDir>/stylelint-polaris', ], watchPlugins: [ 'jest-watch-typeahead/filename', 'jest-watch-typ...
7,659
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/package.json
{ "name": "polaris", "version": "0.0.0", "private": true, "engines": { "node": "^16.17.0 || >=18.12.0" }, "workspaces": { "packages": [ "polaris-tokens", "polaris-for-vscode", "polaris-icons", "polaris-migrator", "polaris-react", "stylelint-polaris", "polari...
7,660
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/translation.yml
source_language: en target_languages: [ cs, da, de, es, fi, fr, it, ja, ko, nb, nl, pl, pt-BR, pt-PT, sv, th, tr, vi, zh-CN, zh-TW, ] async_pr_mode: per_pr components: - name: 'default' scheme: react audience: merchant own...
7,661
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/tsconfig.eslint.json
{ // Root config used to specify which TS files to lint // https://typescript-eslint.io/docs/linting/monorepo/#one-root-tsconfigjson "compilerOptions": { // Ensures this config is not used for a build "noEmit": true }, "include": [ // Paths to lint "polaris-codemods", "polaris-for-vscode"...
7,662
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/tsconfig.json
{ "files": [], "references": [ {"path": "./polaris-for-vscode"}, {"path": "./polaris-migrator"}, {"path": "./polaris-react"}, {"path": "./polaris-tokens"}, {"path": "./polaris.shopify.com"}, {"path": "./stylelint-polaris"} ] }
7,663
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/turbo.json
{ "$schema": "https://turborepo.org/schema.json", "baseBranch": "origin/main", "pipeline": { "build": { "outputs": ["dist/**", ".next/**", "build/**", ".cache/**"], "dependsOn": ["^build"] }, "test": { "outputs": [], "dependsOn": [] }, "lint": { "outputs": [".esli...
7,664
0
petrpan-code/Shopify
petrpan-code/Shopify/polaris/yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 "@ampproject/remapping@^2.1.0": version "2.2.0" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAas...
7,665
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/README.md
# Changesets Hello and welcome! To manage our change log and releases, we use [Changesets](https://github.com/changesets/changesets) to [version](https://semver.org/) and publish code. To add an entry to the change log for your pull request, from your feature branch run `yarn changeset` in your terminal. Use the arro...
7,666
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/afraid-rocks-happen.md
--- '@shopify/polaris': patch --- Simplified `Button` code
7,667
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/big-donuts-watch.md
--- '@shopify/polaris': minor --- Added Card component default value for roundedAbove prop
7,668
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/brave-pans-relate.md
--- '@shopify/polaris': patch --- Fixed ref error in `Tabs` for `CreateViewModal` and removed promoted bulk action warnings
7,669
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/brown-ghosts-cough.md
--- '@shopify/polaris-tokens': minor --- Add 0 tokens where missing as per [the team's decision](https://github.com/Shopify/polaris/discussions/7334#discussioncomment-4988991).
7,670
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/calm-colts-melt.md
--- '@shopify/polaris': patch 'polaris.shopify.com': patch --- Updated IndexTable documentation for when to hide bulk actions
7,671
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/config.json
{ "$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json", "changelog": ["@changesets/changelog-github", {"repo": "Shopify/polaris"}], "commit": false, "fixed": [], "linked": [], "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", "ignore": [], "___experiment...
7,672
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/curly-balloons-raise.md
--- 'polaris-for-vscode': minor --- Update dependencies and published files to fix vsce publish
7,673
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/curvy-cheetahs-report.md
--- 'polaris.shopify.com': patch --- Fixed typos in naming docs
7,674
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/empty-squids-prove.md
--- '@shopify/polaris': minor --- Added documentation for `Card` examples to support `LegacyCard` compositions
7,675
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/grumpy-waves-behave.md
--- 'polaris.shopify.com': patch --- Fixed icon search and query params from URL
7,676
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/light-mugs-pretend.md
--- '@shopify/polaris-icons': minor --- Add PayoutsBlocked icon
7,677
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/long-crabs-smash.md
--- '@shopify/polaris-icons': minor --- Update Metaobject and MetaobjectReference icon SVGs
7,678
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/loud-pumas-shake.md
--- '@shopify/polaris': patch --- Fixed Filters SearchField background in dark mode
7,679
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/ninety-weeks-greet.md
--- '@shopify/polaris': patch --- Added expanded styling to Button
7,680
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/odd-seahorses-compare.md
--- '@shopify/polaris': minor '@shopify/polaris-tokens': minor --- - Bumped `color-text-magic-secondary` to purple 13 - Added `tone` prop with `magic` value to `Select` - Added `magic` value to `tone` prop of `Text` - Added `magic-subdued` value to `tone` prop of `Text`
7,681
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/poor-gifts-wait.md
--- '@shopify/polaris': patch --- Fixed disjointed Navigation arrow on small screens
7,682
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/proud-cooks-fly.md
--- '@shopify/polaris-tokens': minor '@shopify/polaris': patch --- Add support for using breakpoint tokens in CSS by using `@custom-media`
7,683
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/proud-yaks-invent.md
--- '@shopify/polaris': patch --- Removed bevel from `pressed` `Button` when focused
7,684
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/rude-jokes-design.md
--- '@shopify/polaris': minor --- Added the `key` prop to `Select` component `StrictOption`
7,685
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/serious-days-grow.md
--- '@shopify/polaris': minor 'polaris.shopify.com': minor --- Added support for `paddingInline` and `paddingBlock` on `Box` component with updated documentation
7,686
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/silly-lies-march.md
--- '@shopify/polaris': minor --- Fixed hover state of `IndexTable.Row` when `selectable` is `false`
7,687
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/silver-wasps-greet.md
--- '@shopify/polaris': minor --- Updated IndexTable, ResourceList, and DataTable to have built-in pagination props
7,688
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/slimy-pans-worry.md
--- '@shopify/polaris': minor --- Updated Filters to not render or perform filters logic if the filters array is empty
7,689
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/slow-eagles-carry.md
--- 'polaris.shopify.com': minor --- Removed duplicate content on icon contribution
7,690
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/smooth-bats-jump.md
--- '@shopify/polaris': patch --- [Page] prevent vertical content shift of header with metadata and actions
7,691
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/strange-bananas-obey.md
--- '@shopify/polaris': minor --- Added support for an `EditColumns` button rendered in the `IndexFilters` deprecating the `Tabs`'s `edit-columns` action. - `IndexFilters` - Added support for rendering an Edit Columns button using the `showEditColumnsButton` flag. - Added the edition `mode` to the `onEditStart(mo...
7,692
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/strange-ducks-shake.md
--- 'polaris.shopify.com': minor --- Update icon contribution guidance
7,693
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/swift-crabs-lay.md
--- 'polaris.shopify.com': minor --- Added new content section on how to add an issue to our board rather than creating your own pr.
7,694
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/thin-bottles-dream.md
--- '@shopify/polaris': patch --- Updated `Button` base state colors to use `fill` tokens
7,695
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/thin-ladybugs-film.md
--- '@shopify/polaris': patch --- Added child type to IndexTable row
7,696
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/tiny-crabs-rhyme.md
--- '@shopify/polaris': patch --- Fixed `Tag` icon and disabled state colors
7,697
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/tricky-pumpkins-talk.md
--- '@shopify/polaris': patch --- Fixed `FormLayout` spacing
7,698
0
petrpan-code/Shopify/polaris
petrpan-code/Shopify/polaris/.changeset/two-phones-move.md
--- '@shopify/polaris': patch --- [Modal] Disallow vertical scroll with use of noScroll
7,699