@hyphen/hyphen-components 8.0.0 → 8.0.1
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/css/fonts.css +5 -3
- package/dist/css/fonts.css.map +1 -0
- package/dist/css/index.css +117 -111
- package/dist/css/index.css.map +1 -0
- package/dist/css/reset.css +5 -3
- package/dist/css/reset.css.map +1 -0
- package/dist/css/utilities.css +9 -7
- package/dist/css/utilities.css.map +1 -0
- package/dist/css/variables.css +11 -9
- package/dist/css/variables.css.map +1 -0
- package/dist/hyphen-components.cjs.development.js +6 -6
- package/dist/hyphen-components.cjs.development.js.map +1 -1
- package/dist/hyphen-components.cjs.production.min.js +1 -1
- package/dist/hyphen-components.cjs.production.min.js.map +1 -1
- package/dist/hyphen-components.esm.js +6 -6
- package/dist/hyphen-components.esm.js.map +1 -1
- package/package.json +4 -4
- package/src/components/Badge/Badge.module.scss +1 -1
- package/src/components/Button/Button.module.scss +1 -1
- package/src/components/CheckboxInput/components/Checkbox.module.scss +2 -2
- package/src/components/Drawer/Drawer.module.scss +1 -1
- package/src/components/DropdownMenu/DropdownMenu.tsx +6 -8
- package/src/components/Modal/Modal.module.scss +1 -1
- package/src/components/RadioGroup/RadioInput/RadioInput.module.scss +2 -2
- package/src/components/SelectInput/SelectInput.module.scss +1 -1
- package/src/components/SelectInputInset/SelectInputInset.module.scss +1 -1
- package/src/components/SelectInputNative/SelectInputNative.module.scss +1 -1
- package/src/components/Switch/Switch.module.scss +1 -1
- package/src/components/TextInput/TextInput.module.scss +1 -1
- package/src/components/TextInputInset/TextInputInset.module.scss +1 -1
- package/src/components/TextareaInput/TextareaInput.module.scss +1 -1
- package/src/components/TextareaInputInset/TextareaInputInset.module.scss +1 -1
- package/src/components/Toggle/Toggle.module.scss +1 -1
- package/src/components/ToggleGroup/ToggleGroup.module.scss +1 -1
- package/src/styles/display.scss +1 -1
- package/src/styles/flex.scss +1 -1
- package/src/styles/overflow.scss +2 -0
- package/src/styles/position.scss +2 -0
- package/src/styles/text-align.scss +2 -0
- package/src/styles/utilities.scss +10 -9
- package/src/styles/variables/index.scss +2 -1
- package/src/styles/white-space.scss +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyphen/hyphen-components",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "@hyphen"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"react-select": "^5.10.0",
|
|
57
57
|
"react-select-event": "^5.5.1",
|
|
58
58
|
"uuid": "^11.1.1",
|
|
59
|
-
"@hyphen/hyphen-design-tokens": "^8.0.
|
|
59
|
+
"@hyphen/hyphen-design-tokens": "^8.0.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@babel/core": "^7.27.4",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"clean-webpack-plugin": "^4.0.0",
|
|
88
88
|
"cross-env": "^7.0.3",
|
|
89
89
|
"css-loader": "^6.11.0",
|
|
90
|
-
"css-minimizer-webpack-plugin": "^
|
|
90
|
+
"css-minimizer-webpack-plugin": "^8.0.0",
|
|
91
91
|
"cssnano": "^6.1.2",
|
|
92
92
|
"csstype": "^3.1.3",
|
|
93
93
|
"eslint": "^8.57.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"jest-preview": "^0.3.1",
|
|
103
103
|
"mini-css-extract-plugin": "^2.9.1",
|
|
104
104
|
"playwright": "^1.60.0",
|
|
105
|
-
"postcss": "^8.5.
|
|
105
|
+
"postcss": "^8.5.23",
|
|
106
106
|
"postcss-loader": "^7.3.4",
|
|
107
107
|
"postcss-modules": "^6.0.0",
|
|
108
108
|
"react": "^18.3.1",
|
|
@@ -37,7 +37,7 @@ const DropdownMenuItem = React.forwardRef<
|
|
|
37
37
|
/>
|
|
38
38
|
);
|
|
39
39
|
});
|
|
40
|
-
DropdownMenuItem.displayName =
|
|
40
|
+
DropdownMenuItem.displayName = 'DropdownMenuItem';
|
|
41
41
|
|
|
42
42
|
const DropdownMenuContent = React.forwardRef<
|
|
43
43
|
React.ElementRef<typeof DropdownMenuPrimitive.Content>,
|
|
@@ -58,7 +58,7 @@ const DropdownMenuContent = React.forwardRef<
|
|
|
58
58
|
/>
|
|
59
59
|
</DropdownMenuPrimitive.Portal>
|
|
60
60
|
));
|
|
61
|
-
DropdownMenuContent.displayName =
|
|
61
|
+
DropdownMenuContent.displayName = 'DropdownMenuContent';
|
|
62
62
|
|
|
63
63
|
const DropdownMenuLabel = React.forwardRef<
|
|
64
64
|
React.ElementRef<typeof DropdownMenuPrimitive.Label>,
|
|
@@ -76,7 +76,7 @@ const DropdownMenuLabel = React.forwardRef<
|
|
|
76
76
|
{...props}
|
|
77
77
|
/>
|
|
78
78
|
));
|
|
79
|
-
DropdownMenuLabel.displayName =
|
|
79
|
+
DropdownMenuLabel.displayName = 'DropdownMenuLabel';
|
|
80
80
|
|
|
81
81
|
const DropdownMenuSeparator = React.forwardRef<
|
|
82
82
|
React.ElementRef<typeof DropdownMenuPrimitive.Separator>,
|
|
@@ -95,7 +95,7 @@ const DropdownMenuSeparator = React.forwardRef<
|
|
|
95
95
|
{...props}
|
|
96
96
|
/>
|
|
97
97
|
));
|
|
98
|
-
DropdownMenuSeparator.displayName =
|
|
98
|
+
DropdownMenuSeparator.displayName = 'DropdownMenuSeparator';
|
|
99
99
|
|
|
100
100
|
const DropdownMenuShortcut = ({
|
|
101
101
|
className,
|
|
@@ -133,8 +133,7 @@ const DropdownMenuSubTrigger = React.forwardRef<
|
|
|
133
133
|
<Icon name="caret-sm-right" className="m-left-auto" />
|
|
134
134
|
</DropdownMenuPrimitive.SubTrigger>
|
|
135
135
|
));
|
|
136
|
-
DropdownMenuSubTrigger.displayName =
|
|
137
|
-
DropdownMenuPrimitive.SubTrigger.displayName;
|
|
136
|
+
DropdownMenuSubTrigger.displayName = 'DropdownMenuSubTrigger';
|
|
138
137
|
|
|
139
138
|
const DropdownMenuSubContent = React.forwardRef<
|
|
140
139
|
React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,
|
|
@@ -149,8 +148,7 @@ const DropdownMenuSubContent = React.forwardRef<
|
|
|
149
148
|
{...props}
|
|
150
149
|
/>
|
|
151
150
|
));
|
|
152
|
-
DropdownMenuSubContent.displayName =
|
|
153
|
-
DropdownMenuPrimitive.SubContent.displayName;
|
|
151
|
+
DropdownMenuSubContent.displayName = 'DropdownMenuSubContent';
|
|
154
152
|
|
|
155
153
|
export {
|
|
156
154
|
DropdownMenu,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '@hyphen/hyphen-design-tokens/build/scss/variables' as *;
|
|
2
2
|
// The following styles required the :global tag since they need to be applied to react-select elements for which we do not own the markup
|
|
3
3
|
|
|
4
4
|
@mixin react-select-icon {
|
package/src/styles/display.scss
CHANGED
package/src/styles/flex.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '@hyphen/hyphen-design-tokens/build/scss/variables' as *;
|
|
2
2
|
|
|
3
3
|
// min-width and min-height needed because of this
|
|
4
4
|
// https://stackoverflow.com/questions/36247140/why-doesnt-flex-item-shrink-past-content-size
|
package/src/styles/overflow.scss
CHANGED
package/src/styles/position.scss
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
@use './animation';
|
|
2
|
+
@use './cursor';
|
|
3
|
+
@use './display';
|
|
4
|
+
@use './flex';
|
|
5
|
+
@use './overflow';
|
|
6
|
+
@use './text-align';
|
|
7
|
+
@use './white-space';
|
|
8
|
+
@use './position';
|
|
9
|
+
@use './transform';
|
|
10
|
+
|
|
1
11
|
@import '@hyphen/hyphen-design-tokens/build/utilities/utilities.css';
|
|
2
|
-
@import './animation';
|
|
3
|
-
@import './cursor';
|
|
4
|
-
@import './display';
|
|
5
|
-
@import './flex';
|
|
6
|
-
@import './overflow';
|
|
7
|
-
@import './text-align';
|
|
8
|
-
@import './white-space';
|
|
9
|
-
@import './position';
|
|
10
|
-
@import './transform';
|
|
11
12
|
|
|
12
13
|
.sr-only {
|
|
13
14
|
position: absolute;
|