@yahoo/uds-v5-wip 1.58.0 → 1.59.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/dist/config/dist/createConfig.js +1 -1
- package/dist/core/dist/compositeStyles.d.ts +2 -1
- package/dist/core/dist/configurable-prop-helpers.d.ts +2 -1
- package/dist/core/dist/createComponent.d.ts +2 -1
- package/dist/core/dist/createComponentExample.d.ts +2 -1
- package/dist/core/dist/createProvider.d.ts +2 -1
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +2 -1
- package/dist/core/dist/getComponentStyles.d.ts +2 -1
- package/dist/core/dist/getStyles.d.ts +2 -1
- package/dist/core/dist/modifier-mappings.d.ts +2 -1
- package/dist/core/dist/resolveMotionState.d.ts +2 -1
- package/dist/core/dist/style-prop-data.d.ts +2 -1
- package/dist/core/dist/transformPreset.d.ts +2 -1
- package/dist/core/dist/withDefaultStyleProps.d.ts +2 -1
- package/dist/loader/dist/_virtual/_rolldown/runtime.js +6 -0
- package/dist/loader/dist/loader/create-component-lowering.js +1 -1
- package/dist/loader/dist/loader/data-attr-transform.js +1 -1
- package/dist/loader/dist/loader/lower-new-api-primitive.js +0 -28
- package/dist/loader/dist/loader/style-transform.js +4 -4
- package/dist/loader/dist/loader.d.ts +2 -1
- package/dist/loader/dist/loader.js +3 -3
- package/dist/loader/dist/next.d.ts +2 -1
- package/dist/loader/dist/next.js +1 -1
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.development.js +203 -0
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.production.js +25 -0
- package/dist/loader/dist/node_modules/react/cjs/react.development.js +762 -0
- package/dist/loader/dist/node_modules/react/cjs/react.production.js +351 -0
- package/dist/loader/dist/node_modules/react/index.js +10 -0
- package/dist/loader/dist/node_modules/react/jsx-runtime.js +10 -0
- package/dist/loader/dist/packages/core/dist/color-opacity-map.js +33 -0
- package/dist/loader/dist/packages/core/dist/compositeStyles.js +43 -0
- package/dist/loader/dist/packages/core/dist/createComponent.js +6 -0
- package/dist/loader/dist/packages/core/dist/createProvider.js +7 -0
- package/dist/loader/dist/packages/core/dist/generated/stylePropsTwMap.js +570 -0
- package/dist/loader/dist/packages/core/dist/getComponentStyles.js +2 -0
- package/dist/loader/dist/packages/core/dist/getStyles.js +60 -0
- package/dist/loader/dist/packages/core/dist/index.js +6 -0
- package/dist/loader/dist/packages/core/dist/modifier-mappings.js +61 -0
- package/dist/loader/dist/packages/core/dist/style-prop-data.js +1257 -0
- package/dist/loader/dist/packages/core/dist/withDefaultStyleProps.js +1 -0
- package/dist/loader.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/_virtual/_rolldown/runtime.js +0 -7
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//#region ../loader/dist/packages/core/dist/modifier-mappings.js
|
|
2
|
+
const modifierMappings = {
|
|
3
|
+
_after: "after:",
|
|
4
|
+
_hover: "hover:",
|
|
5
|
+
_focus: "focus:",
|
|
6
|
+
_focusWithin: "focus-within:",
|
|
7
|
+
_focusVisible: "focus-visible:",
|
|
8
|
+
_active: "active:",
|
|
9
|
+
_visited: "visited:",
|
|
10
|
+
_target: "target:",
|
|
11
|
+
_first: "first:",
|
|
12
|
+
_last: "last:",
|
|
13
|
+
_only: "only:",
|
|
14
|
+
_odd: "odd:",
|
|
15
|
+
_even: "even:",
|
|
16
|
+
_firstOfType: "first-of-type:",
|
|
17
|
+
_lastOfType: "last-of-type:",
|
|
18
|
+
_onlyOfType: "only-of-type:",
|
|
19
|
+
_empty: "empty:",
|
|
20
|
+
_disabled: "disabled:",
|
|
21
|
+
_enabled: "enabled:",
|
|
22
|
+
_checked: "checked:",
|
|
23
|
+
_indeterminate: "indeterminate:",
|
|
24
|
+
_default: "default:",
|
|
25
|
+
_required: "required:",
|
|
26
|
+
_valid: "valid:",
|
|
27
|
+
_invalid: "invalid:",
|
|
28
|
+
_inRange: "in-range:",
|
|
29
|
+
_outOfRange: "out-of-range:",
|
|
30
|
+
_placeholderShown: "placeholder-shown:",
|
|
31
|
+
_autofill: "autofill:",
|
|
32
|
+
_readonly: "read-only:",
|
|
33
|
+
_file: "file:",
|
|
34
|
+
_selection: "selection:",
|
|
35
|
+
_backdrop: "backdrop:",
|
|
36
|
+
_motionReduce: "motion-reduce:",
|
|
37
|
+
_motionSafe: "motion-safe:",
|
|
38
|
+
_contrastMore: "contrast-more:",
|
|
39
|
+
_contrastLess: "contrast-less:",
|
|
40
|
+
_forcedColors: "forced-colors:",
|
|
41
|
+
_placeholder: "placeholder:",
|
|
42
|
+
_ariaBusy: "aria-busy:",
|
|
43
|
+
_ariaChecked: "aria-checked:",
|
|
44
|
+
_ariaHidden: "aria-hidden:",
|
|
45
|
+
_ariaPressed: "aria-pressed:",
|
|
46
|
+
_ariaReadonly: "aria-readonly:",
|
|
47
|
+
_ariaRequired: "aria-required:",
|
|
48
|
+
_ariaSelected: "aria-selected:",
|
|
49
|
+
_ariaCurrent: "aria-[current]:",
|
|
50
|
+
_ariaDisabled: "aria-disabled:",
|
|
51
|
+
_ariaExpanded: "aria-expanded:",
|
|
52
|
+
_dataDisabled: "data-[disabled=true]:",
|
|
53
|
+
_dataStateOpen: "data-[state=open]:",
|
|
54
|
+
_dataStateClosed: "data-[state=closed]:",
|
|
55
|
+
_startingStyle: "starting-style:",
|
|
56
|
+
_scrollbar: "*::-webkit-scrollbar:",
|
|
57
|
+
_scrollbarThumb: "*::-webkit-scrollbar-thumb:",
|
|
58
|
+
_scrollbarTrack: "*::-webkit-scrollbar-track:"
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
export { modifierMappings };
|