@epilot/volt-ui-experimental-griffel 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADOPTING.md +416 -0
- package/README.md +32 -31
- package/dist/_virtual/jsx-dev-runtime.js +5 -0
- package/dist/_virtual/jsx-dev-runtime.js.map +1 -0
- package/dist/_virtual/react-jsx-dev-runtime.development.js +5 -0
- package/dist/_virtual/react-jsx-dev-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-dev-runtime.production.js +5 -0
- package/dist/_virtual/react-jsx-dev-runtime.production.js.map +1 -0
- package/dist/components/accordion/accordion.js +126 -66
- package/dist/components/accordion/accordion.js.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.js +239 -137
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/avatar/avatar-group.js +102 -47
- package/dist/components/avatar/avatar-group.js.map +1 -1
- package/dist/components/avatar/avatar.js +97 -73
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/badge/badge.js +53 -37
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +97 -49
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/components/button/button.js +88 -77
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button-group/button-group.js +55 -31
- package/dist/components/button-group/button-group.js.map +1 -1
- package/dist/components/callout/callout.js +288 -164
- package/dist/components/callout/callout.js.map +1 -1
- package/dist/components/card/card.js +137 -81
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/checkbox/checkbox.js +100 -49
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js +155 -107
- package/dist/components/collapsible-sidebar/collapsible-sidebar.js.map +1 -1
- package/dist/components/command/command.js +297 -158
- package/dist/components/command/command.js.map +1 -1
- package/dist/components/data-table/data-table-body.js +114 -54
- package/dist/components/data-table/data-table-body.js.map +1 -1
- package/dist/components/data-table/data-table-column-header.js +117 -45
- package/dist/components/data-table/data-table-column-header.js.map +1 -1
- package/dist/components/data-table/data-table-column-visibility.js +98 -39
- package/dist/components/data-table/data-table-column-visibility.js.map +1 -1
- package/dist/components/data-table/data-table-content.js +90 -58
- package/dist/components/data-table/data-table-content.js.map +1 -1
- package/dist/components/data-table/data-table-error.js +83 -39
- package/dist/components/data-table/data-table-error.js.map +1 -1
- package/dist/components/data-table/data-table-header.js +88 -54
- package/dist/components/data-table/data-table-header.js.map +1 -1
- package/dist/components/data-table/data-table-loading.js +27 -15
- package/dist/components/data-table/data-table-loading.js.map +1 -1
- package/dist/components/data-table/data-table-pagination.js +27 -19
- package/dist/components/data-table/data-table-pagination.js.map +1 -1
- package/dist/components/data-table/data-table-row.js +87 -64
- package/dist/components/data-table/data-table-row.js.map +1 -1
- package/dist/components/data-table/data-table-toolbar.js +24 -16
- package/dist/components/data-table/data-table-toolbar.js.map +1 -1
- package/dist/components/data-table/data-table.js +182 -145
- package/dist/components/data-table/data-table.js.map +1 -1
- package/dist/components/date-range-picker/date-range-picker.js +342 -214
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -1
- package/dist/components/date-range-picker/range-calendar.js +132 -92
- package/dist/components/date-range-picker/range-calendar.js.map +1 -1
- package/dist/components/date-time-picker/calendar.js +501 -317
- package/dist/components/date-time-picker/calendar.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-context.js +64 -60
- package/dist/components/date-time-picker/date-time-picker-context.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-input.js +249 -149
- package/dist/components/date-time-picker/date-time-picker-input.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-panel.js +273 -165
- package/dist/components/date-time-picker/date-time-picker-panel.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker-popover.js +22 -14
- package/dist/components/date-time-picker/date-time-picker-popover.js.map +1 -1
- package/dist/components/date-time-picker/date-time-picker.js +134 -90
- package/dist/components/date-time-picker/date-time-picker.js.map +1 -1
- package/dist/components/date-time-picker/time-picker.js +198 -132
- package/dist/components/date-time-picker/time-picker.js.map +1 -1
- package/dist/components/density-provider/density-provider.js +48 -0
- package/dist/components/density-provider/density-provider.js.map +1 -0
- package/dist/components/dialog/dialog.js +280 -150
- package/dist/components/dialog/dialog.js.map +1 -1
- package/dist/components/drawer/drawer.js +273 -163
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.js +378 -195
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/components/field/field-combobox.js +447 -240
- package/dist/components/field/field-combobox.js.map +1 -1
- package/dist/components/field/field-select.js +23 -19
- package/dist/components/field/field-select.js.map +1 -1
- package/dist/components/field/field.js +318 -209
- package/dist/components/field/field.js.map +1 -1
- package/dist/components/label/label.js +27 -19
- package/dist/components/label/label.js.map +1 -1
- package/dist/components/list/list.js +623 -369
- package/dist/components/list/list.js.map +1 -1
- package/dist/components/option-card/option-card.js +323 -159
- package/dist/components/option-card/option-card.js.map +1 -1
- package/dist/components/pill/pill.js +82 -64
- package/dist/components/pill/pill.js.map +1 -1
- package/dist/components/popover/popover.js +101 -56
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/radio/radio.js +94 -51
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/scroll-overflow/scroll-overflow.js +350 -198
- package/dist/components/scroll-overflow/scroll-overflow.js.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +141 -97
- package/dist/components/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/select/select.js +452 -227
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/separator/separator.js +24 -16
- package/dist/components/separator/separator.js.map +1 -1
- package/dist/components/skeleton/skeleton.js +83 -43
- package/dist/components/skeleton/skeleton.js.map +1 -1
- package/dist/components/spinner/spinner.js +44 -20
- package/dist/components/spinner/spinner.js.map +1 -1
- package/dist/components/switch/switch.js +163 -86
- package/dist/components/switch/switch.js.map +1 -1
- package/dist/components/table/table-pagination.js +465 -205
- package/dist/components/table/table-pagination.js.map +1 -1
- package/dist/components/table/table.js +212 -144
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/tabs/tabs.js +94 -58
- package/dist/components/tabs/tabs.js.map +1 -1
- package/dist/components/text/text.js +40 -32
- package/dist/components/text/text.js.map +1 -1
- package/dist/components/toast/toast.js +187 -111
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/components/toggle/toggle-group.js +40 -24
- package/dist/components/toggle/toggle-group.js.map +1 -1
- package/dist/components/toggle/toggle.js +48 -40
- package/dist/components/toggle/toggle.js.map +1 -1
- package/dist/components/tooltip/tooltip.js +101 -55
- package/dist/components/tooltip/tooltip.js.map +1 -1
- package/dist/index.d.ts +600 -427
- package/dist/index.js +215 -212
- package/dist/index.js.map +1 -1
- package/dist/lib/clear-button.js +27 -15
- package/dist/lib/clear-button.js.map +1 -1
- package/dist/lib/icons.js +18 -6
- package/dist/lib/icons.js.map +1 -1
- package/dist/packages/volt-runtime/dist/sheet.js +27 -10
- package/dist/packages/volt-runtime/dist/sheet.js.map +1 -1
- package/dist/packages/volt-runtime/dist/styles/recipe.js +76 -0
- package/dist/packages/volt-runtime/dist/styles/recipe.js.map +1 -0
- package/dist/styles/document-context.js +12 -0
- package/dist/styles/document-context.js.map +1 -0
- package/dist/styles/make-styles.js +18 -10
- package/dist/styles/make-styles.js.map +1 -1
- package/dist/tokens/core.generated.js +1238 -1166
- package/dist/tokens/core.generated.js.map +1 -1
- package/dist/tokens/index.d.ts +442 -415
- package/dist/tokens/index.js +1105 -1078
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/install.js +9 -5
- package/dist/tokens/install.js.map +1 -1
- package/dist/tokens/use-palette-tokens.js +20 -0
- package/dist/tokens/use-palette-tokens.js.map +1 -0
- package/dist/tokens.json +83 -2
- package/dist/vendor/react/cjs/react-jsx-dev-runtime.development.js +236 -0
- package/dist/vendor/react/cjs/react-jsx-dev-runtime.development.js.map +1 -0
- package/dist/vendor/react/cjs/react-jsx-dev-runtime.production.js +21 -0
- package/dist/vendor/react/cjs/react-jsx-dev-runtime.production.js.map +1 -0
- package/dist/vendor/react/jsx-dev-runtime.js +9 -0
- package/dist/vendor/react/jsx-dev-runtime.js.map +1 -0
- package/package.json +13 -5
- package/scripts/migration-diagnostics-core.mjs +859 -0
- package/scripts/migration-diagnostics.mjs +353 -0
- package/scripts/migration-sweep.mjs +179 -0
- package/AGENTS.md +0 -153
- package/AUTHORING.md +0 -292
- package/dist/packages/volt-runtime/dist/styles/make-styles.js +0 -22
- package/dist/packages/volt-runtime/dist/styles/make-styles.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sources":["../../src/tokens/install.ts"],"sourcesContent":["import { ensureSheet, __resetInstalledSheets } from \"@epilot/volt-ui-runtime\"\nimport { CSS as CORE_CSS, SHEET_HASH as CORE_HASH } from \"./core.generated\"\nimport {\n CSS as PALETTE_CSS,\n SHEET_HASH as PALETTE_HASH,\n} from \"./palette.generated\"\n\n/**\n * Token sheet delivery.\n *\n * Each sheet is keyed by the hash of its own CONTENT, so N copies of the same version insert it\n * once, and two builds with different token values coexist as two sheets. Crucially, the values\n * cannot fight: property NAMES carry a value-derived namespace segment, so different values mean\n * different names. That is what lets both sheets sit on `:root` — the PoC originally salted only\n * the CLASS namespace and measured exactly this defect, with two divergent builds rendering the\n * same colour and the winner decided by MFE load order.\n *\n * Two sheets rather than one, per DECISIONS.md D5. Core carries the semantic layer for the intent\n * families plus the owned scale; palette carries the decorative families, which are reachable only\n * through a consumer-facing `color` prop. `ensurePalette()` is called by the components that expose\n * one, so a consumer using only Dialog, Field and Tooltip never ships or inserts it.\n *\n * The PoC also modelled a `host` delivery variant — root-config ships the sheet, like today's\n * singleton `style.css` link. Not carried: it reintroduces the failure this architecture exists to\n * remove (a missing or stale host sheet unstyles every v2 MFE at once) and it requires a breaking\n * host change deployed ahead of the package.\n *\n * Note what did NOT move when the engine did. `ensureSheet` is the runtime's, because placement is\n * anchor-relative and the anchor is shared. The CSS below is this package's, because it is exactly\n * the thing that must differ between two co-resident versions. That is the same line the `host`\n * variant above got wrong, drawn one level further in.\n */\n\n/** Test-only: forget what this module thinks it has installed. */\nexport function __resetTokensForTests(): void {\n __resetInstalledSheets()\n}\n\nexport function ensureCoreTokens(doc: Document = document): boolean {\n return ensureSheet(doc, CORE_HASH, CORE_CSS)\n}\n\n/**\n * Called by components that accept a `color` prop, since a decorative family can arrive from a\n * runtime expression the build cannot see — `getColorForEntityLabel(label)` and\n * `WCAG_BADGE_MAP[level].color` both exist in consumer code today.\n */\nexport function ensurePaletteTokens(doc: Document = document): boolean {\n return ensureSheet(doc, PALETTE_HASH, PALETTE_CSS)\n}\n\n/**\n * The families the CORE sheet declares. Everything else is decorative and lives in the palette\n * sheet. `core-families.test.ts` asserts this list against the generated sheets in both directions, so a\n * family moving between them cannot silently invalidate the check below.\n */\nconst CORE_FAMILIES = new Set([\n \"accent\",\n \"gray\",\n \"error\",\n \"info\",\n \"success\",\n \"warning\",\n])\n\n/**\n * Install the palette sheet only if this family actually needs it.\n *\n * The unconditional call was measured as the single most expensive thing a `color`-prop component\n * does: the palette sheet is 63,689 B of CSS, and a differential build put `Pill`'s marginal cost at\n * 69,087 B raw against `Button`'s 6,330 B. The flows pilot separately measured 69,787 B of runtime\n * token CSS in the document for a two-component consumer, 18× the 3,814 B of actual atoms.\n *\n * Passing the resolved family keeps the correctness the unconditional call was protecting. The\n * hazard it guarded against is a family arriving from an expression the BUILD cannot see; by render\n * time the value is in hand, so a dynamic `getColorForEntityLabel(label)` that returns `teal` still\n * installs the sheet before paint. What goes away is installing it for `accent` or `gray`.\n *\n * This does NOT reduce bundle size. `ensurePaletteTokens` stays referenced, so the sheet is still\n * emitted into any chunk that contains one of these components — cutting that needs build-time\n * knowledge of which families a consumer uses, which the package cannot have. See DECISIONS D14.\n */\nexport function ensurePaletteTokensFor(\n family: string,\n doc: Document = document\n): boolean {\n if (
|
|
1
|
+
{"version":3,"file":"install.js","sources":["../../src/tokens/install.ts"],"sourcesContent":["import { ensureSheet, __resetInstalledSheets } from \"@epilot/volt-ui-runtime\"\nimport { CSS as CORE_CSS, SHEET_HASH as CORE_HASH } from \"./core.generated\"\nimport {\n CSS as PALETTE_CSS,\n SHEET_HASH as PALETTE_HASH,\n} from \"./palette.generated\"\n\n/**\n * Token sheet delivery.\n *\n * Each sheet is keyed by the hash of its own CONTENT, so N copies of the same version insert it\n * once, and two builds with different token values coexist as two sheets. Crucially, the values\n * cannot fight: property NAMES carry a value-derived namespace segment, so different values mean\n * different names. That is what lets both sheets sit on `:root` — the PoC originally salted only\n * the CLASS namespace and measured exactly this defect, with two divergent builds rendering the\n * same colour and the winner decided by MFE load order.\n *\n * Two sheets rather than one, per DECISIONS.md D5. Core carries the semantic layer for the intent\n * families plus the owned scale; palette carries the decorative families, which are reachable only\n * through a consumer-facing `color` prop. `ensurePalette()` is called by the components that expose\n * one, so a consumer using only Dialog, Field and Tooltip never ships or inserts it.\n *\n * The PoC also modelled a `host` delivery variant — root-config ships the sheet, like today's\n * singleton `style.css` link. Not carried: it reintroduces the failure this architecture exists to\n * remove (a missing or stale host sheet unstyles every v2 MFE at once) and it requires a breaking\n * host change deployed ahead of the package.\n *\n * Note what did NOT move when the engine did. `ensureSheet` is the runtime's, because placement is\n * anchor-relative and the anchor is shared. The CSS below is this package's, because it is exactly\n * the thing that must differ between two co-resident versions. That is the same line the `host`\n * variant above got wrong, drawn one level further in.\n */\n\n/** Test-only: forget what this module thinks it has installed. */\nexport function __resetTokensForTests(): void {\n __resetInstalledSheets()\n}\n\nexport function ensureCoreTokens(doc: Document = document): boolean {\n return ensureSheet(doc, CORE_HASH, CORE_CSS)\n}\n\n/**\n * Called by components that accept a `color` prop, since a decorative family can arrive from a\n * runtime expression the build cannot see — `getColorForEntityLabel(label)` and\n * `WCAG_BADGE_MAP[level].color` both exist in consumer code today.\n */\nexport function ensurePaletteTokens(doc: Document = document): boolean {\n return ensureSheet(doc, PALETTE_HASH, PALETTE_CSS)\n}\n\n/**\n * The families the CORE sheet declares. Everything else is decorative and lives in the palette\n * sheet. `core-families.test.ts` asserts this list against the generated sheets in both directions, so a\n * family moving between them cannot silently invalidate the check below.\n */\nconst CORE_FAMILIES = new Set([\n \"accent\",\n \"gray\",\n \"error\",\n \"info\",\n \"success\",\n \"warning\",\n])\n\n/**\n * The single source of truth for \"which sheet does this family live in\", exported so a consumer's\n * OWN namespace-string interpolation (Badge, Pill) can ask the same question\n * `ensurePaletteTokensFor` answers below, instead of hand-picking a namespace and silently\n * disagreeing with it. That silent disagreement is exactly the shape of the bug this predicate\n * closes: `ensurePaletteTokensFor` correctly installed the palette sheet for a decorative family,\n * while the component's own `var(--volt2-<NS>-sem-<family>-<slot>)` string kept using the CORE\n * namespace regardless — so the sheet the family needed was present, and the property the\n * component actually referenced still didn't exist. See BADGE-NAMESPACE-TRIAGE.md.\n *\n * `CORE_FAMILIES` itself stays private — this predicate is the only way to read it, so nothing\n * outside this module can mutate the classification. Not re-exported from `src/index.ts` or the\n * generated `tokens/index.ts`: it is package-internal, imported the same way\n * `ensurePaletteTokensFor` already is (`\"../../tokens/install\"`), not part of the public API.\n */\nexport function isCoreFamily(family: string): boolean {\n return CORE_FAMILIES.has(family)\n}\n\n/**\n * Install the palette sheet only if this family actually needs it.\n *\n * The unconditional call was measured as the single most expensive thing a `color`-prop component\n * does: the palette sheet is 63,689 B of CSS, and a differential build put `Pill`'s marginal cost at\n * 69,087 B raw against `Button`'s 6,330 B. The flows pilot separately measured 69,787 B of runtime\n * token CSS in the document for a two-component consumer, 18× the 3,814 B of actual atoms.\n *\n * Passing the resolved family keeps the correctness the unconditional call was protecting. The\n * hazard it guarded against is a family arriving from an expression the BUILD cannot see; by render\n * time the value is in hand, so a dynamic `getColorForEntityLabel(label)` that returns `teal` still\n * installs the sheet before paint. What goes away is installing it for `accent` or `gray`.\n *\n * This does NOT reduce bundle size. `ensurePaletteTokens` stays referenced, so the sheet is still\n * emitted into any chunk that contains one of these components — cutting that needs build-time\n * knowledge of which families a consumer uses, which the package cannot have. See DECISIONS D14.\n */\nexport function ensurePaletteTokensFor(\n family: string,\n doc: Document = document\n): boolean {\n if (isCoreFamily(family)) return false\n\n return ensurePaletteTokens(doc)\n}\n\nexport const TOKEN_SHEET_HASHES = {\n core: CORE_HASH,\n palette: PALETTE_HASH,\n} as const\n"],"names":["ensureCoreTokens","doc","ensureSheet","CORE_HASH","CORE_CSS","ensurePaletteTokens","PALETTE_HASH","PALETTE_CSS","CORE_FAMILIES","isCoreFamily","family","ensurePaletteTokensFor"],"mappings":";;;AAsCO,SAASA,EAAiBC,IAAgB,UAAmB;AAClE,SAAOC,EAAYD,GAAKE,GAAWC,CAAQ;AAC7C;AAOO,SAASC,EAAoBJ,IAAgB,UAAmB;AACrE,SAAOC,EAAYD,GAAKK,GAAcC,CAAW;AACnD;AAOA,MAAMC,wBAAoB,IAAI;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAiBM,SAASC,EAAaC,GAAyB;AACpD,SAAOF,EAAc,IAAIE,CAAM;AACjC;AAmBO,SAASC,EACdD,GACAT,IAAgB,UACP;AACT,SAAIQ,EAAaC,CAAM,IAAU,KAE1BL,EAAoBJ,CAAG;AAChC;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { ensurePaletteTokensFor as r, ensurePaletteTokens as s } from "./install.js";
|
|
3
|
+
import { useVoltTargetDocument as n } from "../styles/document-context.js";
|
|
4
|
+
function c(t) {
|
|
5
|
+
const e = n();
|
|
6
|
+
o.useInsertionEffect(() => {
|
|
7
|
+
e && r(t, e);
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function i(t) {
|
|
11
|
+
const e = n();
|
|
12
|
+
o.useInsertionEffect(() => {
|
|
13
|
+
!e || !t || s(e);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
c as useVoltPaletteTokensFor,
|
|
18
|
+
i as useVoltPaletteTokensWhen
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=use-palette-tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-palette-tokens.js","sources":["../../src/tokens/use-palette-tokens.ts"],"sourcesContent":["import * as React from \"react\"\n\nimport { ensurePaletteTokensFor, ensurePaletteTokens } from \"./install\"\nimport { useVoltTargetDocument } from \"../styles/document-context\"\n\n/**\n * Commit-phase replacement for a bare `ensurePaletteTokensFor(family)` call in a component's render\n * body (Avatar/Badge/Pill). The hook itself is called unconditionally, every render, preserving\n * hook order; `family` — the RESOLVED value, computed during render exactly as before — is closed\n * over by the effect. There is deliberately NO dependency array (not `[doc, family]`): the effect\n * runs after every commit regardless of whether `doc`/`family` changed since the last one, matching\n * the pre-WP2B2 render-phase behavior of calling this fresh on every render.\n *\n * Running on every commit, rather than being gated to fire only when something changed, is what\n * lets the PALETTE token sheet specifically get restored on the next commit if removed externally,\n * with unchanged props — the WP2A restoration guarantee, extended here to the palette sheet. This\n * does not extend to an arbitrary Griffel atom bucket rule removed out from under a component;\n * `ensurePaletteTokensFor` only knows how to reconcile the ONE sheet it owns.\n */\nexport function useVoltPaletteTokensFor(family: string): void {\n const doc = useVoltTargetDocument()\n React.useInsertionEffect(() => {\n if (!doc) return\n ensurePaletteTokensFor(family, doc)\n })\n}\n\n/**\n * Commit-phase replacement for Skeleton's `if (variant === \"ai\") ensurePaletteTokens()`. The hook is\n * still called unconditionally — the boolean requirement is computed during render (`variant ===\n * \"ai\"`) and the branch lives INSIDE the effect, never around the hook call itself.\n */\nexport function useVoltPaletteTokensWhen(required: boolean): void {\n const doc = useVoltTargetDocument()\n React.useInsertionEffect(() => {\n if (!doc || !required) return\n ensurePaletteTokens(doc)\n })\n}\n"],"names":["useVoltPaletteTokensFor","family","doc","useVoltTargetDocument","React","ensurePaletteTokensFor","useVoltPaletteTokensWhen","required","ensurePaletteTokens"],"mappings":";;;AAmBO,SAASA,EAAwBC,GAAsB;AAC5D,QAAMC,IAAMC,EAAA;AACZ,EAAAC,EAAM,mBAAmB,MAAM;AAC7B,IAAKF,KACLG,EAAuBJ,GAAQC,CAAG;AAAA,EACpC,CAAC;AACH;AAOO,SAASI,EAAyBC,GAAyB;AAChE,QAAML,IAAMC,EAAA;AACZ,EAAAC,EAAM,mBAAmB,MAAM;AAC7B,IAAI,CAACF,KAAO,CAACK,KACbC,EAAoBN,CAAG;AAAA,EACzB,CAAC;AACH;"}
|
package/dist/tokens.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "GENERATED. Design token values for consumers that do not render this package's React components. Compile these into your own CSS under your own names at your own build time; do not reference this package's runtime custom properties, whose names are content-hashed and change with their values.",
|
|
2
|
+
"$comment": "GENERATED. Design token values for consumers that do not render this package's React components. Compile these into your own CSS under your own names at your own build time; do not reference this package's runtime custom properties, whose names are content-hashed and change with their values. `themes.light`/`themes.dark` are mode-resolved; `densities.compact`/`densities.normal`/`densities.comfortable` resolve the component layer's geometry tokens (WP9A-ACCEPTANCE-WP9B1) and carry no mode of their own — do not read a value out of `themes` for a key that only exists under `densities`, or the reverse. This file is copied verbatim to this package's public `tokens.json` export (`package.json`'s `build` script, `cp src/tokens/values.generated.json dist/tokens.json`).",
|
|
3
3
|
"package": "@epilot/volt-ui-experimental-griffel",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"themes": {
|
|
6
6
|
"light": {
|
|
7
7
|
"accent-1": "#fcfdfe",
|
|
@@ -924,13 +924,21 @@
|
|
|
924
924
|
"sky-indicator": "#7ce2fe",
|
|
925
925
|
"sky-surface": "#eef9fdcc",
|
|
926
926
|
"sky-track": "#7ce2fe",
|
|
927
|
+
"spacing-element-0-5": "0.125rem",
|
|
927
928
|
"spacing-element-1": "0.25rem",
|
|
929
|
+
"spacing-element-1-5": "0.375rem",
|
|
928
930
|
"spacing-element-2": "0.5rem",
|
|
931
|
+
"spacing-element-2-5": "0.625rem",
|
|
929
932
|
"spacing-element-3": "0.75rem",
|
|
930
933
|
"spacing-group-1": "0.5rem",
|
|
931
934
|
"spacing-group-2": "1rem",
|
|
935
|
+
"spacing-layout-0-5": "1.25rem",
|
|
932
936
|
"spacing-layout-1": "1.5rem",
|
|
937
|
+
"spacing-layout-1-5": "1.75rem",
|
|
933
938
|
"spacing-layout-2": "2rem",
|
|
939
|
+
"spacing-layout-2-5": "2.25rem",
|
|
940
|
+
"spacing-layout-3": "2.5rem",
|
|
941
|
+
"spacing-layout-4": "3rem",
|
|
934
942
|
"spacing-none": "0px",
|
|
935
943
|
"success-1": "#fbfefc",
|
|
936
944
|
"success-10": "#2b9a66",
|
|
@@ -1999,13 +2007,21 @@
|
|
|
1999
2007
|
"sky-indicator": "#7ce2fe",
|
|
2000
2008
|
"sky-surface": "#13233b80",
|
|
2001
2009
|
"sky-track": "#7ce2fe",
|
|
2010
|
+
"spacing-element-0-5": "0.125rem",
|
|
2002
2011
|
"spacing-element-1": "0.25rem",
|
|
2012
|
+
"spacing-element-1-5": "0.375rem",
|
|
2003
2013
|
"spacing-element-2": "0.5rem",
|
|
2014
|
+
"spacing-element-2-5": "0.625rem",
|
|
2004
2015
|
"spacing-element-3": "0.75rem",
|
|
2005
2016
|
"spacing-group-1": "0.5rem",
|
|
2006
2017
|
"spacing-group-2": "1rem",
|
|
2018
|
+
"spacing-layout-0-5": "1.25rem",
|
|
2007
2019
|
"spacing-layout-1": "1.5rem",
|
|
2020
|
+
"spacing-layout-1-5": "1.75rem",
|
|
2008
2021
|
"spacing-layout-2": "2rem",
|
|
2022
|
+
"spacing-layout-2-5": "2.25rem",
|
|
2023
|
+
"spacing-layout-3": "2.5rem",
|
|
2024
|
+
"spacing-layout-4": "3rem",
|
|
2009
2025
|
"spacing-none": "0px",
|
|
2010
2026
|
"success-1": "#0e1512",
|
|
2011
2027
|
"success-10": "#33b074",
|
|
@@ -2153,5 +2169,70 @@
|
|
|
2153
2169
|
"yellow-surface": "#231f1380",
|
|
2154
2170
|
"yellow-track": "#ffe629"
|
|
2155
2171
|
}
|
|
2172
|
+
},
|
|
2173
|
+
"densities": {
|
|
2174
|
+
"compact": {
|
|
2175
|
+
"button-base-min-height": "2rem",
|
|
2176
|
+
"button-base-padding-inline": "0.75rem",
|
|
2177
|
+
"button-icon-size": "1.75rem",
|
|
2178
|
+
"field-input-height": "1.25rem",
|
|
2179
|
+
"field-padding-x": "0.5rem",
|
|
2180
|
+
"field-padding-y": "0.25rem",
|
|
2181
|
+
"field-set-gap": "1.5rem",
|
|
2182
|
+
"list-index-min-width": "1.5rem",
|
|
2183
|
+
"list-index-padding-x": "0.375rem",
|
|
2184
|
+
"list-item-gap": "0.5rem",
|
|
2185
|
+
"list-item-min-height": "2rem",
|
|
2186
|
+
"list-item-padding-x": "0.5rem",
|
|
2187
|
+
"list-item-padding-y": "0.25rem",
|
|
2188
|
+
"select-content-gap": "0.125rem",
|
|
2189
|
+
"select-content-padding": "0.25rem",
|
|
2190
|
+
"select-item-padding-left": "0.25rem",
|
|
2191
|
+
"select-item-padding-y": "0.25rem",
|
|
2192
|
+
"table-cell-padding-y": "0.375rem",
|
|
2193
|
+
"table-head-height": "2rem"
|
|
2194
|
+
},
|
|
2195
|
+
"normal": {
|
|
2196
|
+
"button-base-min-height": "2rem",
|
|
2197
|
+
"button-base-padding-inline": "1rem",
|
|
2198
|
+
"button-icon-size": "2rem",
|
|
2199
|
+
"field-input-height": "1.5rem",
|
|
2200
|
+
"field-padding-x": "0.75rem",
|
|
2201
|
+
"field-padding-y": "0.5rem",
|
|
2202
|
+
"field-set-gap": "2rem",
|
|
2203
|
+
"list-index-min-width": "1.75rem",
|
|
2204
|
+
"list-index-padding-x": "0.5rem",
|
|
2205
|
+
"list-item-gap": "0.75rem",
|
|
2206
|
+
"list-item-min-height": "2.5rem",
|
|
2207
|
+
"list-item-padding-x": "0.75rem",
|
|
2208
|
+
"list-item-padding-y": "0.5rem",
|
|
2209
|
+
"select-content-gap": "0.25rem",
|
|
2210
|
+
"select-content-padding": "0.5rem",
|
|
2211
|
+
"select-item-padding-left": "0.5rem",
|
|
2212
|
+
"select-item-padding-y": "0.375rem",
|
|
2213
|
+
"table-cell-padding-y": "0.5rem",
|
|
2214
|
+
"table-head-height": "2.25rem"
|
|
2215
|
+
},
|
|
2216
|
+
"comfortable": {
|
|
2217
|
+
"button-base-min-height": "2.5rem",
|
|
2218
|
+
"button-base-padding-inline": "1.25rem",
|
|
2219
|
+
"button-icon-size": "2.5rem",
|
|
2220
|
+
"field-input-height": "1.75rem",
|
|
2221
|
+
"field-padding-x": "1rem",
|
|
2222
|
+
"field-padding-y": "0.75rem",
|
|
2223
|
+
"field-set-gap": "2.5rem",
|
|
2224
|
+
"list-index-min-width": "2rem",
|
|
2225
|
+
"list-index-padding-x": "0.5rem",
|
|
2226
|
+
"list-item-gap": "1rem",
|
|
2227
|
+
"list-item-min-height": "3rem",
|
|
2228
|
+
"list-item-padding-x": "1rem",
|
|
2229
|
+
"list-item-padding-y": "0.75rem",
|
|
2230
|
+
"select-content-gap": "0.375rem",
|
|
2231
|
+
"select-content-padding": "0.75rem",
|
|
2232
|
+
"select-item-padding-left": "0.75rem",
|
|
2233
|
+
"select-item-padding-y": "0.625rem",
|
|
2234
|
+
"table-cell-padding-y": "0.75rem",
|
|
2235
|
+
"table-head-height": "2.5rem"
|
|
2236
|
+
}
|
|
2156
2237
|
}
|
|
2157
2238
|
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { __exports as u } from "../../../_virtual/react-jsx-dev-runtime.development.js";
|
|
2
|
+
import J from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-dev-runtime.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var P;
|
|
13
|
+
function Z() {
|
|
14
|
+
return P ? u : (P = 1, process.env.NODE_ENV !== "production" && function() {
|
|
15
|
+
function s(e) {
|
|
16
|
+
if (e == null) return null;
|
|
17
|
+
if (typeof e == "function")
|
|
18
|
+
return e.$$typeof === z ? null : e.displayName || e.name || null;
|
|
19
|
+
if (typeof e == "string") return e;
|
|
20
|
+
switch (e) {
|
|
21
|
+
case i:
|
|
22
|
+
return "Fragment";
|
|
23
|
+
case I:
|
|
24
|
+
return "Profiler";
|
|
25
|
+
case D:
|
|
26
|
+
return "StrictMode";
|
|
27
|
+
case L:
|
|
28
|
+
return "Suspense";
|
|
29
|
+
case U:
|
|
30
|
+
return "SuspenseList";
|
|
31
|
+
case V:
|
|
32
|
+
return "Activity";
|
|
33
|
+
}
|
|
34
|
+
if (typeof e == "object")
|
|
35
|
+
switch (typeof e.tag == "number" && console.error(
|
|
36
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
37
|
+
), e.$$typeof) {
|
|
38
|
+
case Y:
|
|
39
|
+
return "Portal";
|
|
40
|
+
case F:
|
|
41
|
+
return e.displayName || "Context";
|
|
42
|
+
case $:
|
|
43
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
44
|
+
case W:
|
|
45
|
+
var r = e.render;
|
|
46
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
47
|
+
case M:
|
|
48
|
+
return r = e.displayName || null, r !== null ? r : s(e.type) || "Memo";
|
|
49
|
+
case f:
|
|
50
|
+
r = e._payload, e = e._init;
|
|
51
|
+
try {
|
|
52
|
+
return s(e(r));
|
|
53
|
+
} catch {
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
function d(e) {
|
|
59
|
+
return "" + e;
|
|
60
|
+
}
|
|
61
|
+
function b(e) {
|
|
62
|
+
try {
|
|
63
|
+
d(e);
|
|
64
|
+
var r = !1;
|
|
65
|
+
} catch {
|
|
66
|
+
r = !0;
|
|
67
|
+
}
|
|
68
|
+
if (r) {
|
|
69
|
+
r = console;
|
|
70
|
+
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
71
|
+
return t.call(
|
|
72
|
+
r,
|
|
73
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
74
|
+
n
|
|
75
|
+
), d(e);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function E(e) {
|
|
79
|
+
if (e === i) return "<>";
|
|
80
|
+
if (typeof e == "object" && e !== null && e.$$typeof === f)
|
|
81
|
+
return "<...>";
|
|
82
|
+
try {
|
|
83
|
+
var r = s(e);
|
|
84
|
+
return r ? "<" + r + ">" : "<...>";
|
|
85
|
+
} catch {
|
|
86
|
+
return "<...>";
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function w() {
|
|
90
|
+
var e = g.A;
|
|
91
|
+
return e === null ? null : e.getOwner();
|
|
92
|
+
}
|
|
93
|
+
function R() {
|
|
94
|
+
return Error("react-stack-top-frame");
|
|
95
|
+
}
|
|
96
|
+
function h(e) {
|
|
97
|
+
if (O.call(e, "key")) {
|
|
98
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
99
|
+
if (r && r.isReactWarning) return !1;
|
|
100
|
+
}
|
|
101
|
+
return e.key !== void 0;
|
|
102
|
+
}
|
|
103
|
+
function j(e, r) {
|
|
104
|
+
function t() {
|
|
105
|
+
k || (k = !0, console.error(
|
|
106
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
107
|
+
r
|
|
108
|
+
));
|
|
109
|
+
}
|
|
110
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
111
|
+
get: t,
|
|
112
|
+
configurable: !0
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function N() {
|
|
116
|
+
var e = s(this.type);
|
|
117
|
+
return A[e] || (A[e] = !0, console.error(
|
|
118
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
119
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
120
|
+
}
|
|
121
|
+
function C(e, r, t, n, o, m) {
|
|
122
|
+
var a = t.ref;
|
|
123
|
+
return e = {
|
|
124
|
+
$$typeof: p,
|
|
125
|
+
type: e,
|
|
126
|
+
key: r,
|
|
127
|
+
props: t,
|
|
128
|
+
_owner: n
|
|
129
|
+
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
130
|
+
enumerable: !1,
|
|
131
|
+
get: N
|
|
132
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
133
|
+
configurable: !1,
|
|
134
|
+
enumerable: !1,
|
|
135
|
+
writable: !0,
|
|
136
|
+
value: 0
|
|
137
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
138
|
+
configurable: !1,
|
|
139
|
+
enumerable: !1,
|
|
140
|
+
writable: !0,
|
|
141
|
+
value: null
|
|
142
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
143
|
+
configurable: !1,
|
|
144
|
+
enumerable: !1,
|
|
145
|
+
writable: !0,
|
|
146
|
+
value: o
|
|
147
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
148
|
+
configurable: !1,
|
|
149
|
+
enumerable: !1,
|
|
150
|
+
writable: !0,
|
|
151
|
+
value: m
|
|
152
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
153
|
+
}
|
|
154
|
+
function x(e, r, t, n, o, m) {
|
|
155
|
+
var a = r.children;
|
|
156
|
+
if (a !== void 0)
|
|
157
|
+
if (n)
|
|
158
|
+
if (G(a)) {
|
|
159
|
+
for (n = 0; n < a.length; n++)
|
|
160
|
+
v(a[n]);
|
|
161
|
+
Object.freeze && Object.freeze(a);
|
|
162
|
+
} else
|
|
163
|
+
console.error(
|
|
164
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
165
|
+
);
|
|
166
|
+
else v(a);
|
|
167
|
+
if (O.call(r, "key")) {
|
|
168
|
+
a = s(e);
|
|
169
|
+
var l = Object.keys(r).filter(function(K) {
|
|
170
|
+
return K !== "key";
|
|
171
|
+
});
|
|
172
|
+
n = 0 < l.length ? "{key: someKey, " + l.join(": ..., ") + ": ...}" : "{key: someKey}", S[a + n] || (l = 0 < l.length ? "{" + l.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
173
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
174
|
+
let props = %s;
|
|
175
|
+
<%s {...props} />
|
|
176
|
+
React keys must be passed directly to JSX without using spread:
|
|
177
|
+
let props = %s;
|
|
178
|
+
<%s key={someKey} {...props} />`,
|
|
179
|
+
n,
|
|
180
|
+
a,
|
|
181
|
+
l,
|
|
182
|
+
a
|
|
183
|
+
), S[a + n] = !0);
|
|
184
|
+
}
|
|
185
|
+
if (a = null, t !== void 0 && (b(t), a = "" + t), h(r) && (b(r.key), a = "" + r.key), "key" in r) {
|
|
186
|
+
t = {};
|
|
187
|
+
for (var _ in r)
|
|
188
|
+
_ !== "key" && (t[_] = r[_]);
|
|
189
|
+
} else t = r;
|
|
190
|
+
return a && j(
|
|
191
|
+
t,
|
|
192
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
193
|
+
), C(
|
|
194
|
+
e,
|
|
195
|
+
a,
|
|
196
|
+
t,
|
|
197
|
+
w(),
|
|
198
|
+
o,
|
|
199
|
+
m
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
function v(e) {
|
|
203
|
+
T(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === f && (e._payload.status === "fulfilled" ? T(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
204
|
+
}
|
|
205
|
+
function T(e) {
|
|
206
|
+
return typeof e == "object" && e !== null && e.$$typeof === p;
|
|
207
|
+
}
|
|
208
|
+
var c = J, p = Symbol.for("react.transitional.element"), Y = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), $ = Symbol.for("react.consumer"), F = Symbol.for("react.context"), W = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), V = Symbol.for("react.activity"), z = Symbol.for("react.client.reference"), g = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, O = Object.prototype.hasOwnProperty, G = Array.isArray, y = console.createTask ? console.createTask : function() {
|
|
209
|
+
return null;
|
|
210
|
+
};
|
|
211
|
+
c = {
|
|
212
|
+
react_stack_bottom_frame: function(e) {
|
|
213
|
+
return e();
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
var k, A = {}, X = c.react_stack_bottom_frame.bind(
|
|
217
|
+
c,
|
|
218
|
+
R
|
|
219
|
+
)(), q = y(E(R)), S = {};
|
|
220
|
+
u.Fragment = i, u.jsxDEV = function(e, r, t, n) {
|
|
221
|
+
var o = 1e4 > g.recentlyCreatedOwnerStacks++;
|
|
222
|
+
return x(
|
|
223
|
+
e,
|
|
224
|
+
r,
|
|
225
|
+
t,
|
|
226
|
+
n,
|
|
227
|
+
o ? Error("react-stack-top-frame") : X,
|
|
228
|
+
o ? y(E(e)) : q
|
|
229
|
+
);
|
|
230
|
+
};
|
|
231
|
+
}(), u);
|
|
232
|
+
}
|
|
233
|
+
export {
|
|
234
|
+
Z as __require
|
|
235
|
+
};
|
|
236
|
+
//# sourceMappingURL=react-jsx-dev-runtime.development.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-jsx-dev-runtime.development.js","sources":["../../../../../../node_modules/react/cjs/react-jsx-dev-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-dev-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"names":["getComponentNameFromType","type","REACT_CLIENT_REFERENCE","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","config","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","key","owner","debugStack","debugTask","refProp","REACT_ELEMENT_TYPE","jsxDEVImpl","maybeKey","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","propName","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxDevRuntime_development","trackActualOwner"],"mappings":";;;;;;;;;;;;;yBAWiB,QAAQ,IAAI,aAA7B,gBACG,WAAY;AACX,aAASA,EAAyBC,GAAM;AACtC,UAAYA,KAAR,KAAc,QAAO;AACzB,UAAmB,OAAOA,KAAtB;AACF,eAAOA,EAAK,aAAaC,IACrB,OACAD,EAAK,eAAeA,EAAK,QAAQ;AACvC,UAAiB,OAAOA,KAApB,SAA0B,QAAOA;AACrC,cAAQA,GAAI;AAAA,QACV,KAAKE;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA;AAEX,UAAiB,OAAOP,KAApB;AACF,gBACgB,OAAOA,EAAK,OAAzB,YACC,QAAQ;AAAA,UACN;AAAA,WAEJA,EAAK,UACf;AAAA,UACU,KAAKQ;AACH,mBAAO;AAAA,UACT,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C,IAAIgE;AAAA,MAC3D;AAAA,IACA;AAAA,EACA,EAAG;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __exports as r } from "../../../_virtual/react-jsx-dev-runtime.production.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-dev-runtime.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
var e;
|
|
12
|
+
function i() {
|
|
13
|
+
if (e) return r;
|
|
14
|
+
e = 1;
|
|
15
|
+
var t = Symbol.for("react.fragment");
|
|
16
|
+
return r.Fragment = t, r.jsxDEV = void 0, r;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
i as __require
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=react-jsx-dev-runtime.production.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-jsx-dev-runtime.production.js","sources":["../../../../../../node_modules/react/cjs/react-jsx-dev-runtime.production.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-dev-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsxDEV = void 0;\n"],"names":["REACT_FRAGMENT_TYPE","reactJsxDevRuntime_production"],"mappings":";;;;;;;;;;;;;;AAWA,MAAIA,IAAsB,OAAO,IAAI,gBAAgB;AACrD,SAAAC,EAAA,WAAmBD,GACnBC,EAAA,SAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { __module as e } from "../../_virtual/jsx-dev-runtime.js";
|
|
2
|
+
import { __require as r } from "./cjs/react-jsx-dev-runtime.production.js";
|
|
3
|
+
import { __require as o } from "./cjs/react-jsx-dev-runtime.development.js";
|
|
4
|
+
process.env.NODE_ENV === "production" ? e.exports = r() : e.exports = o();
|
|
5
|
+
var m = e.exports;
|
|
6
|
+
export {
|
|
7
|
+
m as j
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=jsx-dev-runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsx-dev-runtime.js","sources":["../../../../../node_modules/react/jsx-dev-runtime.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-dev-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-dev-runtime.development.js');\n}\n"],"names":["jsxDevRuntimeModule","require$$0","require$$1"],"mappings":";;;AAEI,QAAQ,IAAI,aAAa,eAC3BA,EAAA,UAAiBC,EAAA,IAEjBD,EAAA,UAAiBE,EAAA;;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/volt-ui-experimental-griffel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Experimental Volt UI rebuild: Radix primitives styled with Griffel, bundled per micro-frontend instead of shared as a singleton",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -30,8 +30,10 @@
|
|
|
30
30
|
"tokens.js",
|
|
31
31
|
"tokens.d.ts",
|
|
32
32
|
"README.md",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
33
|
+
"ADOPTING.md",
|
|
34
|
+
"scripts/migration-sweep.mjs",
|
|
35
|
+
"scripts/migration-diagnostics.mjs",
|
|
36
|
+
"scripts/migration-diagnostics-core.mjs"
|
|
35
37
|
],
|
|
36
38
|
"sideEffects": false,
|
|
37
39
|
"publishConfig": {
|
|
@@ -48,15 +50,21 @@
|
|
|
48
50
|
"gate:griffel-contract": "bun --filter @epilot/volt-ui-runtime test",
|
|
49
51
|
"gate:isolation": "node gates/isolation.mjs",
|
|
50
52
|
"gate:cascade": "node gates/cascade-conformance/build-and-run.mjs",
|
|
53
|
+
"gate:lifecycle-commit-phase": "node gates/lifecycle-commit-phase/build-and-run.mjs",
|
|
51
54
|
"gate:vr": "bun vr/run.mjs",
|
|
52
55
|
"release": "npm publish --tag experiment",
|
|
53
56
|
"gate:token-value-skew": "node gates/token-value-skew/run.mjs",
|
|
54
57
|
"gate:class-salt-skew": "node gates/class-salt-skew/run.mjs",
|
|
55
|
-
"
|
|
58
|
+
"gate:a11y": "node scripts/a11y-browser-check.mjs",
|
|
59
|
+
"gate:palette-namespace": "node scripts/palette-namespace-check.mjs",
|
|
60
|
+
"gates": "bun run gate:vr && bun run gate:isolation && bun run gate:token-value-skew && bun run gate:class-salt-skew && bun run gate:cascade && bun run gate:lifecycle-commit-phase && bun run gate:griffel-contract && bun run gate:dts-self-contained && bun run gate:a11y && bun run gate:palette-namespace",
|
|
56
61
|
"measure:coresidency": "bun scripts/pilot-coresidency.mjs",
|
|
57
62
|
"migration:sweep": "bun scripts/migration-sweep.mjs",
|
|
63
|
+
"test:migration-sweep": "bun test scripts/migration-diagnostics.test.mjs scripts/migration-diagnostics-core.test.mjs scripts/migration-sweep-packed-cli.test.mjs scripts/build-diagnostic-identity.test.mjs",
|
|
58
64
|
"gate:one-bare-specifier": "node gates/one-bare-specifier.mjs",
|
|
59
|
-
"gate:dts-self-contained": "node gates/dts-self-contained.mjs"
|
|
65
|
+
"gate:dts-self-contained": "node gates/dts-self-contained.mjs",
|
|
66
|
+
"verify:release": "bun ../../scripts/verify-release.ts",
|
|
67
|
+
"verify:consumer": "bun ../../scripts/verify-packed-consumer.ts"
|
|
60
68
|
},
|
|
61
69
|
"peerDependencies": {
|
|
62
70
|
"react": ">=18",
|