@primer/react 38.1.0-rc.86cc1e6a5 → 38.1.0-rc.995dba874
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 +2 -0
- package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts +4 -0
- package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts.map +1 -1
- package/dist/internal/components/UnderlineTabbedInterface.js +1 -1
- package/generated/components.json +5 -25
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
- [#7061](https://github.com/primer/react/pull/7061) [`e58e102`](https://github.com/primer/react/commit/e58e1027d7f3cdae5223c08d83f7b86918db370b) Thanks [@francinelucca](https://github.com/francinelucca)! - PageLayout: update wrapper dimensions to match PageLayout's root element
|
|
12
12
|
|
|
13
|
+
- [#7097](https://github.com/primer/react/pull/7097) [`12fad7a`](https://github.com/primer/react/commit/12fad7af4d9d31898dfff5d3419987100b398d9e) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: fix UnderlineWrapper html structure
|
|
14
|
+
|
|
13
15
|
## 38.0.0
|
|
14
16
|
|
|
15
17
|
### Major Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnderlinePanels.d.ts","sourceRoot":"","sources":["../../../src/experimental/UnderlinePanels/UnderlinePanels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMZ,KAAK,EAAE,EACP,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAA;AAEd,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAA;AAerD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAA;AAEvD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CA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,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IACxG;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;;;;;AA8J7D,wBAA2D"}
|
|
@@ -31,7 +31,7 @@ const UnderlineWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
31
31
|
rest = $[3];
|
|
32
32
|
t0 = $[4];
|
|
33
33
|
}
|
|
34
|
-
const Component = t0 === undefined ? "
|
|
34
|
+
const Component = t0 === undefined ? "div" : t0;
|
|
35
35
|
let t1;
|
|
36
36
|
if ($[5] !== className) {
|
|
37
37
|
t1 = clsx(classes.UnderlineWrapper, className);
|
|
@@ -8373,11 +8373,6 @@
|
|
|
8373
8373
|
"name": "children",
|
|
8374
8374
|
"type": "React.ReactNode",
|
|
8375
8375
|
"description": "FilteredSearch is expected to contain an `ActionMenu` followed by a `TextInput`."
|
|
8376
|
-
},
|
|
8377
|
-
{
|
|
8378
|
-
"name": "sx",
|
|
8379
|
-
"type": "SystemStyleObject",
|
|
8380
|
-
"deprecated": true
|
|
8381
8376
|
}
|
|
8382
8377
|
],
|
|
8383
8378
|
"subcomponents": []
|
|
@@ -8437,11 +8432,6 @@
|
|
|
8437
8432
|
{
|
|
8438
8433
|
"name": "selected",
|
|
8439
8434
|
"type": "boolean"
|
|
8440
|
-
},
|
|
8441
|
-
{
|
|
8442
|
-
"name": "sx",
|
|
8443
|
-
"type": "SystemStyleObject",
|
|
8444
|
-
"deprecated": true
|
|
8445
8435
|
}
|
|
8446
8436
|
]
|
|
8447
8437
|
}
|
|
@@ -8794,9 +8784,10 @@
|
|
|
8794
8784
|
"description": "Loading state for all counters. It displays loading animation for individual counters until all are resolved. It is needed to prevent multiple layout shift."
|
|
8795
8785
|
},
|
|
8796
8786
|
{
|
|
8797
|
-
"name": "
|
|
8798
|
-
"type": "
|
|
8799
|
-
"
|
|
8787
|
+
"name": "as",
|
|
8788
|
+
"type": "React.ElementType",
|
|
8789
|
+
"defaultValue": "'div'",
|
|
8790
|
+
"description": "The HTML element or React component used to render the outermost element."
|
|
8800
8791
|
}
|
|
8801
8792
|
],
|
|
8802
8793
|
"subcomponents": [
|
|
@@ -8826,23 +8817,12 @@
|
|
|
8826
8817
|
"type": "Component",
|
|
8827
8818
|
"defaultValue": "",
|
|
8828
8819
|
"description": "Icon rendered before the tab text label"
|
|
8829
|
-
},
|
|
8830
|
-
{
|
|
8831
|
-
"name": "sx",
|
|
8832
|
-
"type": "SystemStyleObject",
|
|
8833
|
-
"deprecated": true
|
|
8834
8820
|
}
|
|
8835
8821
|
]
|
|
8836
8822
|
},
|
|
8837
8823
|
{
|
|
8838
8824
|
"name": "UnderlinePanels.Panel",
|
|
8839
|
-
"props": [
|
|
8840
|
-
{
|
|
8841
|
-
"name": "sx",
|
|
8842
|
-
"type": "SystemStyleObject",
|
|
8843
|
-
"deprecated": true
|
|
8844
|
-
}
|
|
8845
|
-
],
|
|
8825
|
+
"props": [],
|
|
8846
8826
|
"passthrough": {
|
|
8847
8827
|
"element": "div",
|
|
8848
8828
|
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div#Attributes"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "38.1.0-rc.
|
|
4
|
+
"version": "38.1.0-rc.995dba874",
|
|
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",
|
|
@@ -103,13 +103,13 @@
|
|
|
103
103
|
"@figma/code-connect": "1.3.2",
|
|
104
104
|
"@primer/css": "^21.5.1",
|
|
105
105
|
"@primer/doc-gen": "^0.0.1",
|
|
106
|
-
"@rollup/plugin-babel": "6.0
|
|
107
|
-
"@rollup/plugin-commonjs": "28.0.
|
|
106
|
+
"@rollup/plugin-babel": "6.1.0",
|
|
107
|
+
"@rollup/plugin-commonjs": "28.0.9",
|
|
108
108
|
"@rollup/plugin-json": "6.1.0",
|
|
109
|
-
"@rollup/plugin-node-resolve": "16.0.
|
|
109
|
+
"@rollup/plugin-node-resolve": "16.0.3",
|
|
110
110
|
"@rollup/plugin-replace": "6.0.2",
|
|
111
111
|
"@rollup/plugin-terser": "0.4.4",
|
|
112
|
-
"@rollup/plugin-typescript": "12.
|
|
112
|
+
"@rollup/plugin-typescript": "12.3.0",
|
|
113
113
|
"@rollup/plugin-virtual": "3.0.2",
|
|
114
114
|
"@storybook/addon-a11y": "^9.1.10",
|
|
115
115
|
"@storybook/addon-docs": "^9.1.10",
|
|
@@ -169,10 +169,10 @@
|
|
|
169
169
|
"react-test-renderer": "18.3.1",
|
|
170
170
|
"recast": "0.23.7",
|
|
171
171
|
"rimraf": "5.0.5",
|
|
172
|
-
"rollup": "4.
|
|
172
|
+
"rollup": "4.52.5",
|
|
173
173
|
"rollup-plugin-import-css": "^0.0.0",
|
|
174
174
|
"rollup-plugin-postcss": "4.0.2",
|
|
175
|
-
"rollup-plugin-visualizer": "6.0.
|
|
175
|
+
"rollup-plugin-visualizer": "6.0.5",
|
|
176
176
|
"storybook": "^9.1.10",
|
|
177
177
|
"terser": "5.36.0",
|
|
178
178
|
"ts-toolbelt": "9.6.0",
|