@primer/react 38.0.0-rc.9 → 38.0.0-rc.ac46326da
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/CHANGELOG.md +314 -0
- package/dist/ActionBar/{ActionBar-3069d5f1.css → ActionBar-8ed12fe7.css} +2 -2
- package/dist/ActionBar/ActionBar-8ed12fe7.css.map +1 -0
- package/dist/ActionBar/ActionBar.d.ts +3 -0
- package/dist/ActionBar/ActionBar.d.ts.map +1 -1
- package/dist/ActionBar/ActionBar.js +292 -305
- package/dist/ActionBar/ActionBar.module.css.js +2 -2
- package/dist/ActionBar/index.d.ts +3 -0
- package/dist/ActionBar/index.d.ts.map +1 -1
- package/dist/ActionBar/index.js +3 -2
- package/dist/ActionList/index.d.ts +1 -1
- package/dist/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/BaseStyles.d.ts +2 -3
- package/dist/BaseStyles.d.ts.map +1 -1
- package/dist/BaseStyles.js +35 -61
- package/dist/LabelGroup/LabelGroup.d.ts.map +1 -1
- package/dist/LabelGroup/LabelGroup.js +1 -2
- package/dist/NavList/NavList.d.ts +1 -1
- package/dist/Overlay/Overlay.d.ts.map +1 -1
- package/dist/Overlay/Overlay.js +3 -6
- package/dist/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/SegmentedControl/SegmentedControl.js +15 -9
- package/dist/SegmentedControl/SegmentedControlButton.d.ts +3 -1
- package/dist/SegmentedControl/SegmentedControlButton.d.ts.map +1 -1
- package/dist/SegmentedControl/SegmentedControlButton.js +76 -69
- package/dist/TextInput/TextInput.d.ts +1 -1
- package/dist/TextInputWithTokens/TextInputWithTokens.d.ts +5 -5
- package/dist/TextInputWithTokens/TextInputWithTokens.d.ts.map +1 -1
- package/dist/TextInputWithTokens/TextInputWithTokens.js +229 -249
- package/dist/ThemeProvider.d.ts +0 -1
- package/dist/ThemeProvider.d.ts.map +1 -1
- package/dist/ThemeProvider.js +9 -8
- package/dist/deprecated/ActionList/Item.d.ts.map +1 -1
- package/dist/deprecated/ActionList/Item.js +66 -71
- package/dist/{DialogV1 → deprecated/DialogV1}/Dialog-dce13989.css +1 -1
- package/dist/deprecated/DialogV1/Dialog-dce13989.css.map +1 -0
- package/dist/{DialogV1 → deprecated/DialogV1}/Dialog.d.ts +1 -1
- package/dist/deprecated/DialogV1/Dialog.d.ts.map +1 -0
- package/dist/{DialogV1 → deprecated/DialogV1}/Dialog.js +3 -3
- package/dist/deprecated/DialogV1/Dialog.module.css.js +5 -0
- package/dist/deprecated/DialogV1/index.d.ts.map +1 -0
- package/dist/deprecated/index.d.ts +2 -2
- package/dist/deprecated/index.d.ts.map +1 -1
- package/dist/deprecated/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/components/TextInputInnerAction.d.ts +1 -1
- package/generated/components.json +85 -110
- package/package.json +3 -18
- package/dist/ActionBar/ActionBar-3069d5f1.css.map +0 -1
- package/dist/Box/Box.d.ts +0 -18
- package/dist/Box/Box.d.ts.map +0 -1
- package/dist/Box/index.d.ts +0 -3
- package/dist/Box/index.d.ts.map +0 -1
- package/dist/DialogV1/Dialog-dce13989.css.map +0 -1
- package/dist/DialogV1/Dialog.d.ts.map +0 -1
- package/dist/DialogV1/Dialog.module.css.js +0 -5
- package/dist/DialogV1/index.d.ts.map +0 -1
- package/dist/constants.d.ts +0 -15
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -28
- package/dist/sx.d.ts +0 -24
- package/dist/sx.d.ts.map +0 -1
- package/dist/utils/layout.d.ts +0 -21
- package/dist/utils/layout.d.ts.map +0 -1
- /package/dist/{DialogV1 → deprecated/DialogV1}/index.d.ts +0 -0
|
@@ -101,6 +101,16 @@
|
|
|
101
101
|
{
|
|
102
102
|
"name": "ActionBar.Divider",
|
|
103
103
|
"props": []
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "ActionBar.Group",
|
|
107
|
+
"props": [
|
|
108
|
+
{
|
|
109
|
+
"name": "children",
|
|
110
|
+
"type": "React.ReactNode",
|
|
111
|
+
"defaultValue": ""
|
|
112
|
+
}
|
|
113
|
+
]
|
|
104
114
|
}
|
|
105
115
|
]
|
|
106
116
|
},
|
|
@@ -1518,48 +1528,6 @@
|
|
|
1518
1528
|
}
|
|
1519
1529
|
]
|
|
1520
1530
|
},
|
|
1521
|
-
"box": {
|
|
1522
|
-
"source": "https://github.com/primer/react/tree/main/packages/react/src/Box",
|
|
1523
|
-
"id": "box",
|
|
1524
|
-
"name": "Box",
|
|
1525
|
-
"status": "deprecated",
|
|
1526
|
-
"a11yReviewed": "2025-01-08",
|
|
1527
|
-
"stories": [
|
|
1528
|
-
{
|
|
1529
|
-
"id": "deprecated-components-box--default",
|
|
1530
|
-
"code": "() => <Box>Default Box</Box>"
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"id": "deprecated-components-box-features--border",
|
|
1534
|
-
"code": "() => (\n <Box\n sx={{\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'border.default',\n p: 3,\n }}\n >\n Box with border\n </Box>\n)"
|
|
1535
|
-
},
|
|
1536
|
-
{
|
|
1537
|
-
"id": "deprecated-components-box-features--border-bottom",
|
|
1538
|
-
"code": "() => (\n <Box\n sx={{\n borderBottomWidth: 1,\n borderBottomStyle: 'solid',\n borderColor: 'border.default',\n p: 3,\n }}\n >\n Box with bottom border\n </Box>\n)"
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
"id": "deprecated-components-box-features--flexbox",
|
|
1542
|
-
"code": "() => (\n <Box\n sx={{\n display: 'flex',\n }}\n >\n <Box\n sx={{\n p: 3,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'border.default',\n }}\n >\n 1\n </Box>\n <Box\n sx={{\n flexGrow: 1,\n p: 3,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'border.default',\n }}\n >\n 2\n </Box>\n <Box\n sx={{\n p: 3,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'border.default',\n }}\n >\n 3\n </Box>\n </Box>\n)"
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
"id": "deprecated-components-box-features--grid",
|
|
1546
|
-
"code": "() => (\n <Box\n sx={{\n display: 'grid',\n gridTemplateColumns: '1fr 1fr',\n gap: 3,\n }}\n >\n <Box\n sx={{\n p: 3,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'border.default',\n }}\n >\n 1\n </Box>\n <Box\n sx={{\n p: 3,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'border.default',\n }}\n >\n 2\n </Box>\n <Box\n sx={{\n p: 3,\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: 'border.default',\n }}\n >\n 3\n </Box>\n </Box>\n)"
|
|
1547
|
-
}
|
|
1548
|
-
],
|
|
1549
|
-
"importPath": "@primer/react",
|
|
1550
|
-
"props": [
|
|
1551
|
-
{
|
|
1552
|
-
"name": "ref",
|
|
1553
|
-
"type": "React.RefObject<HTMLDivElement>"
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
"name": "as",
|
|
1557
|
-
"type": "React.ElementType",
|
|
1558
|
-
"defaultValue": "\"div\""
|
|
1559
|
-
}
|
|
1560
|
-
],
|
|
1561
|
-
"subcomponents": []
|
|
1562
|
-
},
|
|
1563
1531
|
"branch_name": {
|
|
1564
1532
|
"source": "https://github.com/primer/react/tree/main/packages/react/src/BranchName",
|
|
1565
1533
|
"id": "branch_name",
|
|
@@ -3122,67 +3090,6 @@
|
|
|
3122
3090
|
}
|
|
3123
3091
|
]
|
|
3124
3092
|
},
|
|
3125
|
-
"dialog": {
|
|
3126
|
-
"source": "https://github.com/primer/react/tree/main/packages/react/src/DialogV1",
|
|
3127
|
-
"id": "dialog",
|
|
3128
|
-
"docsId": "dialog",
|
|
3129
|
-
"name": "Dialog",
|
|
3130
|
-
"status": "deprecated",
|
|
3131
|
-
"a11yReviewed": false,
|
|
3132
|
-
"stories": [
|
|
3133
|
-
{
|
|
3134
|
-
"id": "components-dialog--default",
|
|
3135
|
-
"code": "() => {\n const [isOpen, setIsOpen] = useState(false)\n const returnFocusRef = useRef(null)\n return (\n <div>\n <div\n style={{\n marginBottom: 'var(--stack-gap-normal)',\n }}\n >\n <Banner\n title=\"This component is deprecated\"\n description=\"We recommend using Dialog instead.\"\n variant=\"warning\"\n />\n </div>\n <Button\n data-testid=\"trigger-button\"\n ref={returnFocusRef}\n onClick={() => setIsOpen(true)}\n >\n Show Dialog\n </Button>\n <Dialog\n returnFocusRef={returnFocusRef}\n isOpen={isOpen}\n onDismiss={() => setIsOpen(false)}\n aria-labelledby=\"header\"\n >\n <div data-testid=\"inner\">\n <Dialog.Header id=\"header\">Title</Dialog.Header>\n <div\n style={{\n padding: 'var(--stack-gap-normal)',\n }}\n >\n <Text>Some content</Text>\n </div>\n </div>\n </Dialog>\n </div>\n )\n}"
|
|
3136
|
-
}
|
|
3137
|
-
],
|
|
3138
|
-
"importPath": "@primer/react/deprecated",
|
|
3139
|
-
"props": [
|
|
3140
|
-
{
|
|
3141
|
-
"name": "isOpen",
|
|
3142
|
-
"type": "boolean",
|
|
3143
|
-
"description": "Whether or not the dialog is open"
|
|
3144
|
-
},
|
|
3145
|
-
{
|
|
3146
|
-
"name": "onDismiss",
|
|
3147
|
-
"type": "() => void",
|
|
3148
|
-
"description": "Function that will be called when the dialog is closed"
|
|
3149
|
-
},
|
|
3150
|
-
{
|
|
3151
|
-
"name": "returnFocusRef",
|
|
3152
|
-
"type": " React.RefObject<HTMLElement>",
|
|
3153
|
-
"description": "The element to restore focus back to after the `Dialog` is closed"
|
|
3154
|
-
},
|
|
3155
|
-
{
|
|
3156
|
-
"name": "initialFocusRef",
|
|
3157
|
-
"type": " React.RefObject<HTMLElement>",
|
|
3158
|
-
"description": "Element inside of the `Dialog` you'd like to be focused when the Dialog is opened. If nothing is passed to `initialFocusRef` the close button is focused."
|
|
3159
|
-
},
|
|
3160
|
-
{
|
|
3161
|
-
"name": "aria-labelledby",
|
|
3162
|
-
"type": "string",
|
|
3163
|
-
"description": "Pass an id to use for the aria-label. Use either a `aria-label` or an `aria-labelledby` but not both."
|
|
3164
|
-
},
|
|
3165
|
-
{
|
|
3166
|
-
"name": "aria-label",
|
|
3167
|
-
"type": "string",
|
|
3168
|
-
"description": "Pass a label to be used to describe the Dialog. Use either a `aria-label` or an `aria-labelledby` but not both."
|
|
3169
|
-
},
|
|
3170
|
-
{
|
|
3171
|
-
"name": "narrow",
|
|
3172
|
-
"type": "boolean"
|
|
3173
|
-
},
|
|
3174
|
-
{
|
|
3175
|
-
"name": "wide",
|
|
3176
|
-
"type": "boolean"
|
|
3177
|
-
}
|
|
3178
|
-
],
|
|
3179
|
-
"subcomponents": [
|
|
3180
|
-
{
|
|
3181
|
-
"name": "Dialog.Header",
|
|
3182
|
-
"props": []
|
|
3183
|
-
}
|
|
3184
|
-
]
|
|
3185
|
-
},
|
|
3186
3093
|
"feature_flags": {
|
|
3187
3094
|
"source": "https://github.com/primer/react/tree/main/packages/react/src/FeatureFlags",
|
|
3188
3095
|
"id": "feature_flags",
|
|
@@ -5755,7 +5662,7 @@
|
|
|
5755
5662
|
},
|
|
5756
5663
|
{
|
|
5757
5664
|
"id": "components-segmentedcontrol-features--with-icons",
|
|
5758
|
-
"code": "() => (\n <SegmentedControl aria-label=\"File view\">\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n
|
|
5665
|
+
"code": "() => (\n <SegmentedControl aria-label=\"File view\">\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n leadingVisual={EyeIcon}\n >\n Preview\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Raw'} leadingVisual={FileCodeIcon}>\n Raw\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Blame'} leadingVisual={PeopleIcon}>\n Blame\n </SegmentedControl.Button>\n </SegmentedControl>\n)"
|
|
5759
5666
|
},
|
|
5760
5667
|
{
|
|
5761
5668
|
"id": "components-segmentedcontrol-features--controlled",
|
|
@@ -5763,23 +5670,23 @@
|
|
|
5763
5670
|
},
|
|
5764
5671
|
{
|
|
5765
5672
|
"id": "components-segmentedcontrol-features--variant-narrow-hide-labels",
|
|
5766
|
-
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n variant={{\n narrow: 'hideLabels',\n regular: 'default',\n wide: 'default',\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n
|
|
5673
|
+
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n variant={{\n narrow: 'hideLabels',\n regular: 'default',\n wide: 'default',\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n leadingVisual={EyeIcon}\n >\n Preview\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Raw'} leadingVisual={FileCodeIcon}>\n Raw\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Blame'} leadingVisual={PeopleIcon}>\n Blame\n </SegmentedControl.Button>\n </SegmentedControl>\n)"
|
|
5767
5674
|
},
|
|
5768
5675
|
{
|
|
5769
5676
|
"id": "components-segmentedcontrol-features--variant-narrow-action-menu",
|
|
5770
|
-
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n variant={{\n narrow: 'dropdown',\n regular: 'default',\n wide: 'default',\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n
|
|
5677
|
+
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n variant={{\n narrow: 'dropdown',\n regular: 'default',\n wide: 'default',\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n leadingVisual={EyeIcon}\n >\n Preview\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Raw'} leadingVisual={FileCodeIcon}>\n Raw\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Blame'} leadingVisual={PeopleIcon}>\n Blame\n </SegmentedControl.Button>\n </SegmentedControl>\n)"
|
|
5771
5678
|
},
|
|
5772
5679
|
{
|
|
5773
5680
|
"id": "components-segmentedcontrol-features--fullwidth-narrow",
|
|
5774
|
-
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n fullWidth={{\n narrow: true,\n regular: false,\n wide: false,\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n
|
|
5681
|
+
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n fullWidth={{\n narrow: true,\n regular: false,\n wide: false,\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n leadingVisual={EyeIcon}\n >\n Preview\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Raw'} leadingVisual={FileCodeIcon}>\n Raw\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Blame'} leadingVisual={PeopleIcon}>\n Blame\n </SegmentedControl.Button>\n </SegmentedControl>\n)"
|
|
5775
5682
|
},
|
|
5776
5683
|
{
|
|
5777
5684
|
"id": "components-segmentedcontrol-features--fullwidth-regular",
|
|
5778
|
-
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n fullWidth={{\n narrow: false,\n regular: true,\n wide: false,\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n
|
|
5685
|
+
"code": "() => (\n <SegmentedControl\n aria-label=\"File view\"\n fullWidth={{\n narrow: false,\n regular: true,\n wide: false,\n }}\n >\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n leadingVisual={EyeIcon}\n >\n Preview\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Raw'} leadingVisual={FileCodeIcon}>\n Raw\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Blame'} leadingVisual={PeopleIcon}>\n Blame\n </SegmentedControl.Button>\n </SegmentedControl>\n)"
|
|
5779
5686
|
},
|
|
5780
5687
|
{
|
|
5781
5688
|
"id": "components-segmentedcontrol-features--fullwidth-all",
|
|
5782
|
-
"code": "() => (\n <SegmentedControl aria-label=\"File view\" fullWidth>\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n
|
|
5689
|
+
"code": "() => (\n <SegmentedControl aria-label=\"File view\" fullWidth>\n <SegmentedControl.Button\n defaultSelected\n aria-label={'Preview'}\n leadingVisual={EyeIcon}\n >\n Preview\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Raw'} leadingVisual={FileCodeIcon}>\n Raw\n </SegmentedControl.Button>\n <SegmentedControl.Button aria-label={'Blame'} leadingVisual={PeopleIcon}>\n Blame\n </SegmentedControl.Button>\n </SegmentedControl>\n)"
|
|
5783
5690
|
},
|
|
5784
5691
|
{
|
|
5785
5692
|
"id": "components-segmentedcontrol-features--icon-only",
|
|
@@ -5843,11 +5750,18 @@
|
|
|
5843
5750
|
{
|
|
5844
5751
|
"name": "SegmentedControl.Button",
|
|
5845
5752
|
"props": [
|
|
5753
|
+
{
|
|
5754
|
+
"name": "leadingVisual",
|
|
5755
|
+
"type": "Component",
|
|
5756
|
+
"defaultValue": "",
|
|
5757
|
+
"description": "The leading visual comes before item label"
|
|
5758
|
+
},
|
|
5846
5759
|
{
|
|
5847
5760
|
"name": "leadingIcon",
|
|
5761
|
+
"deprecated": true,
|
|
5848
5762
|
"type": "Component",
|
|
5849
5763
|
"defaultValue": "",
|
|
5850
|
-
"description": "The leading icon comes before item label"
|
|
5764
|
+
"description": "Deprecated: use `leadingVisual` instead. The leading icon comes before item label."
|
|
5851
5765
|
},
|
|
5852
5766
|
{
|
|
5853
5767
|
"name": "selected",
|
|
@@ -8370,6 +8284,67 @@
|
|
|
8370
8284
|
}
|
|
8371
8285
|
]
|
|
8372
8286
|
},
|
|
8287
|
+
"dialog": {
|
|
8288
|
+
"source": "https://github.com/primer/react/tree/main/packages/react/src/deprecated/DialogV1",
|
|
8289
|
+
"id": "dialog",
|
|
8290
|
+
"docsId": "dialog",
|
|
8291
|
+
"name": "Dialog",
|
|
8292
|
+
"status": "deprecated",
|
|
8293
|
+
"a11yReviewed": false,
|
|
8294
|
+
"stories": [
|
|
8295
|
+
{
|
|
8296
|
+
"id": "components-dialog--default",
|
|
8297
|
+
"code": "() => {\n const [isOpen, setIsOpen] = useState(false)\n const returnFocusRef = useRef(null)\n return (\n <div>\n <div\n style={{\n marginBottom: 'var(--stack-gap-normal)',\n }}\n >\n <Banner\n title=\"This component is deprecated\"\n description=\"We recommend using Dialog instead.\"\n variant=\"warning\"\n />\n </div>\n <Button\n data-testid=\"trigger-button\"\n ref={returnFocusRef}\n onClick={() => setIsOpen(true)}\n >\n Show Dialog\n </Button>\n <Dialog\n returnFocusRef={returnFocusRef}\n isOpen={isOpen}\n onDismiss={() => setIsOpen(false)}\n aria-labelledby=\"header\"\n >\n <div data-testid=\"inner\">\n <Dialog.Header id=\"header\">Title</Dialog.Header>\n <div\n style={{\n padding: 'var(--stack-gap-normal)',\n }}\n >\n <Text>Some content</Text>\n </div>\n </div>\n </Dialog>\n </div>\n )\n}"
|
|
8298
|
+
}
|
|
8299
|
+
],
|
|
8300
|
+
"importPath": "@primer/react/deprecated",
|
|
8301
|
+
"props": [
|
|
8302
|
+
{
|
|
8303
|
+
"name": "isOpen",
|
|
8304
|
+
"type": "boolean",
|
|
8305
|
+
"description": "Whether or not the dialog is open"
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
"name": "onDismiss",
|
|
8309
|
+
"type": "() => void",
|
|
8310
|
+
"description": "Function that will be called when the dialog is closed"
|
|
8311
|
+
},
|
|
8312
|
+
{
|
|
8313
|
+
"name": "returnFocusRef",
|
|
8314
|
+
"type": " React.RefObject<HTMLElement>",
|
|
8315
|
+
"description": "The element to restore focus back to after the `Dialog` is closed"
|
|
8316
|
+
},
|
|
8317
|
+
{
|
|
8318
|
+
"name": "initialFocusRef",
|
|
8319
|
+
"type": " React.RefObject<HTMLElement>",
|
|
8320
|
+
"description": "Element inside of the `Dialog` you'd like to be focused when the Dialog is opened. If nothing is passed to `initialFocusRef` the close button is focused."
|
|
8321
|
+
},
|
|
8322
|
+
{
|
|
8323
|
+
"name": "aria-labelledby",
|
|
8324
|
+
"type": "string",
|
|
8325
|
+
"description": "Pass an id to use for the aria-label. Use either a `aria-label` or an `aria-labelledby` but not both."
|
|
8326
|
+
},
|
|
8327
|
+
{
|
|
8328
|
+
"name": "aria-label",
|
|
8329
|
+
"type": "string",
|
|
8330
|
+
"description": "Pass a label to be used to describe the Dialog. Use either a `aria-label` or an `aria-labelledby` but not both."
|
|
8331
|
+
},
|
|
8332
|
+
{
|
|
8333
|
+
"name": "narrow",
|
|
8334
|
+
"type": "boolean"
|
|
8335
|
+
},
|
|
8336
|
+
{
|
|
8337
|
+
"name": "wide",
|
|
8338
|
+
"type": "boolean"
|
|
8339
|
+
}
|
|
8340
|
+
],
|
|
8341
|
+
"subcomponents": [
|
|
8342
|
+
{
|
|
8343
|
+
"name": "Dialog.Header",
|
|
8344
|
+
"props": []
|
|
8345
|
+
}
|
|
8346
|
+
]
|
|
8347
|
+
},
|
|
8373
8348
|
"filtered_search": {
|
|
8374
8349
|
"source": "https://github.com/primer/react/tree/main/packages/react/src/deprecated/FilteredSearch",
|
|
8375
8350
|
"id": "filtered_search",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "38.0.0-rc.
|
|
4
|
+
"version": "38.0.0-rc.ac46326da",
|
|
5
5
|
"description": "An implementation of GitHub's Primer Design System using React",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -79,12 +79,6 @@
|
|
|
79
79
|
"@primer/live-region-element": "^0.7.1",
|
|
80
80
|
"@primer/octicons-react": "^19.13.0",
|
|
81
81
|
"@primer/primitives": "10.x || 11.x",
|
|
82
|
-
"@styled-system/css": "^5.1.5",
|
|
83
|
-
"@styled-system/props": "^5.1.5",
|
|
84
|
-
"@styled-system/theme-get": "^5.1.2",
|
|
85
|
-
"@types/styled-system": "^5.1.23",
|
|
86
|
-
"@types/styled-system__css": "^5.0.16",
|
|
87
|
-
"@types/styled-system__theme-get": "^5.0.1",
|
|
88
82
|
"clsx": "^2.1.1",
|
|
89
83
|
"color2k": "^2.0.3",
|
|
90
84
|
"deepmerge": "^4.3.1",
|
|
@@ -94,8 +88,7 @@
|
|
|
94
88
|
"lodash.isempty": "^4.4.0",
|
|
95
89
|
"lodash.isobject": "^3.0.2",
|
|
96
90
|
"react-compiler-runtime": "^19.1.0-rc.2",
|
|
97
|
-
"react-intersection-observer": "^9.16.0"
|
|
98
|
-
"styled-system": "^5.1.5"
|
|
91
|
+
"react-intersection-observer": "^9.16.0"
|
|
99
92
|
},
|
|
100
93
|
"devDependencies": {
|
|
101
94
|
"@actions/core": "1.11.1",
|
|
@@ -137,7 +130,6 @@
|
|
|
137
130
|
"@types/react-dom": "18.3.1",
|
|
138
131
|
"@types/react-is": "18.3.1",
|
|
139
132
|
"@types/react-test-renderer": "18.3.1",
|
|
140
|
-
"@types/styled-components": "^5.1.26",
|
|
141
133
|
"@vitejs/plugin-react": "^4.3.3",
|
|
142
134
|
"afterframe": "^1.0.2",
|
|
143
135
|
"ajv": "8.16.0",
|
|
@@ -148,7 +140,6 @@
|
|
|
148
140
|
"babel-plugin-macros": "3.1.0",
|
|
149
141
|
"babel-plugin-open-source": "1.3.4",
|
|
150
142
|
"babel-plugin-react-compiler": "^19.1.0-rc.3",
|
|
151
|
-
"babel-plugin-styled-components": "2.1.4",
|
|
152
143
|
"babel-plugin-transform-replace-expressions": "0.2.0",
|
|
153
144
|
"babel-polyfill": "6.26.0",
|
|
154
145
|
"chalk": "^5.4.1",
|
|
@@ -183,7 +174,6 @@
|
|
|
183
174
|
"rollup-plugin-postcss": "4.0.2",
|
|
184
175
|
"rollup-plugin-visualizer": "6.0.3",
|
|
185
176
|
"storybook": "^9.1.10",
|
|
186
|
-
"styled-components": "5.3.11",
|
|
187
177
|
"terser": "5.36.0",
|
|
188
178
|
"ts-toolbelt": "9.6.0",
|
|
189
179
|
"tsx": "4.20.3",
|
|
@@ -199,11 +189,9 @@
|
|
|
199
189
|
"@types/react": "18.x || 19.x",
|
|
200
190
|
"@types/react-dom": "18.x || 19.x",
|
|
201
191
|
"@types/react-is": "18.x || 19.x",
|
|
202
|
-
"@types/styled-components": "^5.1.11",
|
|
203
192
|
"react": "18.x || 19.x",
|
|
204
193
|
"react-dom": "18.x || 19.x",
|
|
205
|
-
"react-is": "18.x || 19.x"
|
|
206
|
-
"styled-components": "5.x"
|
|
194
|
+
"react-is": "18.x || 19.x"
|
|
207
195
|
},
|
|
208
196
|
"peerDependenciesMeta": {
|
|
209
197
|
"@types/react": {
|
|
@@ -214,9 +202,6 @@
|
|
|
214
202
|
},
|
|
215
203
|
"@types/react-is": {
|
|
216
204
|
"optional": true
|
|
217
|
-
},
|
|
218
|
-
"@types/styled-components": {
|
|
219
|
-
"optional": true
|
|
220
205
|
}
|
|
221
206
|
}
|
|
222
207
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/ActionBar/ActionBar.module.css"],"names":[],"mappings":"AAAA,0BAUE,kBAAmB,CARnB,YAAa,CASb,yDAAqD,CAFrD,eAAgB,CAFhB,kBAAmB,CAJnB,WAAY,CAFZ,iBAAkB,CAOlB,kBAaF,CAPE,iDACE,iBACF,CAEA,sDACE,iDACF,CAGF,yBAIE,kBAAmB,CAHnB,YAAa,CAEb,wBAAyB,CADzB,uCAOF,CAHE,kDACE,gBACF,CAIA,oCAME,6DAAoC,CAFpC,UAAW,CAHX,aAAc,CAEd,kCAA2B,CAD3B,sCAKF","file":"ActionBar-3069d5f1.css","sourcesContent":[".List {\n position: relative;\n display: flex;\n min-width: 0;\n\n /* wonder why this is here */\n /* stylelint-disable-next-line primer/spacing */\n margin-bottom: -1px;\n white-space: nowrap;\n list-style: none;\n align-items: center;\n gap: var(--actionbar-gap, var(--stack-gap-condensed));\n\n /* Gap scale (mirrors Stack) */\n &:where([data-gap='none']) {\n --actionbar-gap: 0;\n }\n\n &:where([data-gap='condensed']) {\n --actionbar-gap: var(--stack-gap-condensed);\n }\n}\n\n.Nav {\n display: flex;\n padding-inline: var(--base-size-16);\n justify-content: flex-end;\n align-items: center;\n\n &:where([data-flush='true']) {\n padding-inline: 0;\n }\n}\n\n.Divider {\n &::before {\n display: block;\n width: var(--borderWidth-thin);\n height: var(--base-size-20);\n content: '';\n /* stylelint-disable-next-line primer/colors */\n background: var(--borderColor-muted);\n }\n}\n"]}
|
package/dist/Box/Box.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { BackgroundProps, BorderProps, ColorProps, FlexboxProps, GridProps, LayoutProps, PositionProps, ShadowProps, SpaceProps, TypographyProps } from 'styled-system';
|
|
2
|
-
import type { SxProp } from '../sx';
|
|
3
|
-
import type { ComponentProps } from '../utils/types';
|
|
4
|
-
type StyledBoxProps = SxProp & SpaceProps & ColorProps & TypographyProps & LayoutProps & FlexboxProps & GridProps & BackgroundProps & BorderProps & PositionProps & ShadowProps;
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The Box component is deprecated. Replace with a `div` or
|
|
7
|
-
* appropriate HTML element instead, with CSS modules for styling.
|
|
8
|
-
* @see https://github.com/primer/react/blob/main/contributor-docs/migration-from-box.md
|
|
9
|
-
*/
|
|
10
|
-
declare const Box: import("styled-components").StyledComponent<"div", any, StyledBoxProps, never>;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated The Box component is deprecated. Replace with a `div` or
|
|
13
|
-
* appropriate HTML element instead, with CSS modules for styling.
|
|
14
|
-
* @see https://github.com/primer/react/blob/main/contributor-docs/migration-from-box.md
|
|
15
|
-
*/
|
|
16
|
-
export type BoxProps = ComponentProps<typeof Box>;
|
|
17
|
-
export default Box;
|
|
18
|
-
//# sourceMappingURL=Box.d.ts.map
|
package/dist/Box/Box.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/Box/Box.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACX,UAAU,EACV,YAAY,EACZ,SAAS,EACT,WAAW,EACX,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EAChB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,OAAO,CAAA;AAEjC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAElD,KAAK,cAAc,GAAG,MAAM,GAC1B,UAAU,GACV,UAAU,GACV,eAAe,GACf,WAAW,GACX,YAAY,GACZ,SAAS,GACT,eAAe,GACf,WAAW,GACX,aAAa,GACb,WAAW,CAAA;AAEb;;;;GAIG;AACH,QAAA,MAAM,GAAG,gFAYR,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAA;AACjD,eAAe,GAAG,CAAA"}
|
package/dist/Box/index.d.ts
DELETED
package/dist/Box/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAA;AAC7B,YAAY,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/DialogV1/Dialog.module.css"],"names":[],"mappings":"AACE,mCAUE,wEAA2C,CAN3C,QAAS,CAKT,WAAY,CADZ,cAAe,CADf,aAAc,CAFd,MAAO,CAJP,cAAe,CAEf,OAAQ,CADR,KAAM,CAIN,UAKF,CAGF,8BACE,iBAAkB,CAElB,8BAA0B,CAD1B,4BAEF,CAEA,2BAOE,mEAAwC,CACxC,gDAAyC,CAEzC,iEAAwC,CAPxC,QAAS,CAGT,gBAAiB,CADjB,eAAgB,CAIhB,YAAa,CARb,cAAe,CACf,KAAM,CASN,0BAA2B,CAP3B,WA6BF,CApBE,uDAEE,WACF,CAEA,sDACE,WACF,CAEA,oDAEE,WACF,CAEA,oCA3BF,2BA+BI,eAAgB,CAFhB,aAAc,CACd,QAAS,CAFT,YAKJ,CADE,CAGF,2BAGE,0DAAgC,CAChC,2GAAuE,CACvE,uFAAwE,CAJxE,YAAa,CACb,gCAQF,CAHE,oCAPF,2BAQI,eAEJ,CADE,CAGF,gCACE,8CAAuC,CACvC,gDACF","file":"Dialog-dce13989.css","sourcesContent":[".Overlay {\n &::before {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 99;\n display: block;\n cursor: default;\n content: ' ';\n background: var(--overlay-backdrop-bgColor);\n }\n}\n\n.CloseIcon {\n position: absolute;\n top: var(--base-size-8);\n right: var(--base-size-16);\n}\n\n.Dialog {\n position: fixed;\n top: 0;\n left: 50%;\n z-index: 999;\n max-height: 80vh;\n margin: 10vh auto;\n background-color: var(--bgColor-default);\n border-radius: var(--borderRadius-medium);\n outline: none;\n box-shadow: var(--shadow-floating-large);\n transform: translateX(-50%);\n\n &:where([data-width='default']) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 440px;\n }\n\n &:where([data-width='narrow']) {\n width: 320px;\n }\n\n &:where([data-width='wide']) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 640px;\n }\n\n @media screen and (max-width: 750px) {\n width: 100dvw;\n height: 100dvh;\n margin: 0;\n border-radius: 0;\n }\n}\n\n.Header {\n display: flex;\n padding: var(--base-size-16);\n background: var(--bgColor-muted);\n border-bottom: var(--borderWidth-thin) solid var(--borderColor-default);\n border-radius: var(--borderRadius-medium) var(--borderRadius-medium) 0 0;\n\n @media screen and (max-width: 750px) {\n border-radius: 0;\n }\n}\n\n.HeaderChild {\n font-size: var(--text-body-size-medium);\n font-weight: var(--base-text-weight-semibold);\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/DialogV1/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,KAAK,cAAc,EAAC,MAAM,OAAO,CAAA;AAGpE,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AASlD,KAAK,qBAAqB,GAAG;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,GAAG;IACxF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CACvB,CAAA;AAED,iBAAS,YAAY,CAAC,EAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,SAAiB,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,qBAU7F;kBAVQ,YAAY;;;AAqBrB,QAAA,MAAM,MAAM;aARD,OAAO;gBACJ,MAAM,IAAI;sBACJ,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC;qBAC7B,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC;SACxC,KAAK,CAAC,WAAW;uGAyDvB,CAAA;AAKD,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAA;;aAlE5C,OAAO;gBACJ,MAAM,IAAI;sBACJ,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC;qBAC7B,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC;SACxC,KAAK,CAAC,WAAW;;;;AA+DxB,wBAA4D"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './Dialog-dce13989.css';
|
|
2
|
-
|
|
3
|
-
var classes = {"Overlay":"prc-DialogV1-Overlay-8fcHY","CloseIcon":"prc-DialogV1-CloseIcon-B1Z79","Dialog":"prc-DialogV1-Dialog-5Fgol","Header":"prc-DialogV1-Header-o4U-V","HeaderChild":"prc-DialogV1-HeaderChild-QCbQj"};
|
|
4
|
-
|
|
5
|
-
export { classes as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DialogV1/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAA;AAC1C,YAAY,EAAC,WAAW,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAA"}
|
package/dist/constants.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as styledSystem from 'styled-system';
|
|
2
|
-
export declare const get: (key: string) => (props: any) => any;
|
|
3
|
-
export declare const COMMON: styledSystem.styleFn;
|
|
4
|
-
export interface SystemCommonProps extends styledSystem.ColorProps, styledSystem.SpaceProps, styledSystem.DisplayProps {
|
|
5
|
-
}
|
|
6
|
-
export declare const TYPOGRAPHY: styledSystem.styleFn;
|
|
7
|
-
export interface SystemTypographyProps extends styledSystem.TypographyProps {
|
|
8
|
-
whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line';
|
|
9
|
-
}
|
|
10
|
-
export declare const BORDER: styledSystem.styleFn;
|
|
11
|
-
export interface SystemBorderProps extends styledSystem.BorderProps, styledSystem.ShadowProps {
|
|
12
|
-
}
|
|
13
|
-
export declare const LAYOUT: styledSystem.styleFn;
|
|
14
|
-
export type SystemLayoutProps = styledSystem.LayoutProps;
|
|
15
|
-
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAA;AAK7C,eAAO,MAAM,GAAG,GAAI,KAAK,MAAM,wBAAsC,CAAA;AAIrE,eAAO,MAAM,MAAM,sBAAwE,CAAA;AAE3F,MAAM,WAAW,iBACf,SAAQ,YAAY,CAAC,UAAU,EAC7B,YAAY,CAAC,UAAU,EACvB,YAAY,CAAC,YAAY;CAAG;AAWhC,eAAO,MAAM,UAAU,sBAA+C,CAAA;AAEtE,MAAM,WAAW,qBAAsB,SAAQ,YAAY,CAAC,eAAe;IACzE,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,CAAA;CACnE;AAID,eAAO,MAAM,MAAM,sBAAoD,CAAA;AAEvE,MAAM,WAAW,iBAAkB,SAAQ,YAAY,CAAC,WAAW,EAAE,YAAY,CAAC,WAAW;CAAG;AAIhG,eAAO,MAAM,MAAM,sBAAsB,CAAA;AAEzC,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,WAAW,CAAA"}
|
package/dist/constants.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { themeGet } from '@styled-system/theme-get';
|
|
2
|
-
import * as styledSystem from 'styled-system';
|
|
3
|
-
import theme from './theme.js';
|
|
4
|
-
|
|
5
|
-
const {
|
|
6
|
-
get: getKey,
|
|
7
|
-
compose,
|
|
8
|
-
system
|
|
9
|
-
} = styledSystem;
|
|
10
|
-
const get = key => themeGet(key, getKey(theme, key));
|
|
11
|
-
|
|
12
|
-
// Common props
|
|
13
|
-
|
|
14
|
-
compose(styledSystem.space, styledSystem.color, styledSystem.display);
|
|
15
|
-
// Typography props
|
|
16
|
-
|
|
17
|
-
const whiteSpace = system({
|
|
18
|
-
whiteSpace: {
|
|
19
|
-
property: 'whiteSpace'
|
|
20
|
-
// cssProperty: 'whiteSpace',
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
compose(styledSystem.typography, whiteSpace);
|
|
24
|
-
// Border props
|
|
25
|
-
|
|
26
|
-
compose(styledSystem.border, styledSystem.shadow);
|
|
27
|
-
|
|
28
|
-
export { get };
|
package/dist/sx.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { SystemCssProperties, SystemStyleObject } from '@styled-system/css';
|
|
2
|
-
import type { ThemeColorPaths, ThemeShadowPaths } from './theme';
|
|
3
|
-
import type { ColorProps, BorderColorProps, ShadowProps } from 'styled-system';
|
|
4
|
-
export type BetterCssProperties = {
|
|
5
|
-
[K in keyof SystemCssProperties]: K extends keyof ColorProps ? ThemeColorPaths | SystemCssProperties[K] : K extends keyof BorderColorProps ? ThemeColorPaths | SystemCssProperties[K] : K extends keyof ShadowProps ? ThemeShadowPaths | SystemCssProperties[K] : SystemCssProperties[K];
|
|
6
|
-
};
|
|
7
|
-
export type CSSCustomProperties = {
|
|
8
|
-
[key: `--${string}`]: string | number;
|
|
9
|
-
};
|
|
10
|
-
type CSSSelectorObject = {
|
|
11
|
-
[cssSelector: string]: SystemStyleObject | CSSCustomProperties;
|
|
12
|
-
};
|
|
13
|
-
export type BetterSystemStyleObject = BetterCssProperties | SystemStyleObject | CSSCustomProperties | CSSSelectorObject;
|
|
14
|
-
export interface SxProp {
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated The `sx` prop is deprecated. Replace with a `div` or
|
|
17
|
-
* appropriate HTML element instead, with a CSS class for styling.
|
|
18
|
-
* @see https://github.com/primer/react/blob/main/contributor-docs/migration-from-box.md
|
|
19
|
-
* */
|
|
20
|
-
sx?: BetterSystemStyleObject;
|
|
21
|
-
}
|
|
22
|
-
declare const sx: (props: SxProp) => import("@styled-system/css").CssFunctionReturnType;
|
|
23
|
-
export default sx;
|
|
24
|
-
//# sourceMappingURL=sx.d.ts.map
|
package/dist/sx.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sx.d.ts","sourceRoot":"","sources":["../src/sx.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,oBAAoB,CAAA;AAE9E,OAAO,KAAK,EAAC,eAAe,EAAE,gBAAgB,EAAC,MAAM,SAAS,CAAA;AAC9D,OAAO,KAAK,EAAC,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAC,MAAM,eAAe,CAAA;AAE5E,MAAM,MAAM,mBAAmB,GAAG;KAC/B,CAAC,IAAI,MAAM,mBAAmB,GAAG,CAAC,SAAS,MAAM,UAAU,GACxD,eAAe,GAAG,mBAAmB,CAAC,CAAC,CAAC,GACxC,CAAC,SAAS,MAAM,gBAAgB,GAC9B,eAAe,GAAG,mBAAmB,CAAC,CAAC,CAAC,GACxC,CAAC,SAAS,MAAM,WAAW,GACzB,gBAAgB,GAAG,mBAAmB,CAAC,CAAC,CAAC,GACzC,mBAAmB,CAAC,CAAC,CAAC;CAC/B,CAAA;AAGD,MAAM,MAAM,mBAAmB,GAAG;IAChC,CAAC,GAAG,EAAE,KAAK,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,CAAA;CACtC,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,CAAC,WAAW,EAAE,MAAM,GAAG,iBAAiB,GAAG,mBAAmB,CAAA;CAC/D,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,iBAAiB,CAAA;AAEvH,MAAM,WAAW,MAAM;IACrB;;;;SAIK;IACL,EAAE,CAAC,EAAE,uBAAuB,CAAA;CAC7B;AAED,QAAA,MAAM,EAAE,GAAI,OAAO,MAAM,uDAAkB,CAAA;AAE3C,eAAe,EAAE,CAAA"}
|
package/dist/utils/layout.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const PrimerBreakpoints: {
|
|
2
|
-
xsmall: {
|
|
3
|
-
width: string;
|
|
4
|
-
};
|
|
5
|
-
small: {
|
|
6
|
-
width: string;
|
|
7
|
-
};
|
|
8
|
-
medium: {
|
|
9
|
-
width: string;
|
|
10
|
-
};
|
|
11
|
-
large: {
|
|
12
|
-
width: string;
|
|
13
|
-
};
|
|
14
|
-
xlarge: {
|
|
15
|
-
width: string;
|
|
16
|
-
};
|
|
17
|
-
xxlarge: {
|
|
18
|
-
width: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/utils/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;CAmB7B,CAAA"}
|
|
File without changes
|