@hyphen/hyphen-components 4.9.0 → 4.9.2
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/index.css +1 -1
- package/dist/hyphen-components.cjs.development.js +1 -1
- 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 +1 -1
- package/dist/hyphen-components.esm.js.map +1 -1
- package/package.json +10 -10
- package/src/components/Card/components/CardSection/CardSection.tsx +1 -1
- package/src/components/Table/Table.stories.tsx +3 -3
- package/src/components/Table/TableHead/TableHeaderCell/TableHeaderCell.module.scss +4 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyphen/hyphen-components",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "@hyphen"
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"@emotion/react": "^11.14.0",
|
|
65
65
|
"@hyphen/hyphen-design-tokens": "^4.24.0",
|
|
66
66
|
"@popperjs/core": "^2.11.8",
|
|
67
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
68
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
69
|
-
"@radix-ui/react-slot": "^1.1.
|
|
70
|
-
"@radix-ui/react-tooltip": "^1.1.
|
|
67
|
+
"@radix-ui/react-collapsible": "^1.1.3",
|
|
68
|
+
"@radix-ui/react-dropdown-menu": "^2.1.6",
|
|
69
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
70
|
+
"@radix-ui/react-tooltip": "^1.1.8",
|
|
71
71
|
"@types/react-modal": "^3.16.3",
|
|
72
72
|
"classnames": "^2.5.1",
|
|
73
73
|
"date-fns": "^2.16.1",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"formik": "^2.4.6",
|
|
76
76
|
"react-datepicker": "^6.3.0",
|
|
77
77
|
"react-focus-lock": "^2.13.2",
|
|
78
|
-
"react-modal": "^3.16.
|
|
78
|
+
"react-modal": "^3.16.3",
|
|
79
79
|
"react-popper": "^2.3.0",
|
|
80
|
-
"react-remove-scroll": "^2.
|
|
80
|
+
"react-remove-scroll": "^2.6.3",
|
|
81
81
|
"react-router-dom": "^6.26.1",
|
|
82
|
-
"react-select": "^5.
|
|
82
|
+
"react-select": "^5.10.0",
|
|
83
83
|
"react-select-event": "^5.5.1"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@types/react-modal": "^3.16.3",
|
|
109
109
|
"autoprefixer": "^10.4.20",
|
|
110
110
|
"babel-loader": "^9.1.3",
|
|
111
|
-
"chromatic": "^11.25.
|
|
111
|
+
"chromatic": "^11.25.2",
|
|
112
112
|
"clean-webpack-plugin": "^4.0.0",
|
|
113
113
|
"cross-env": "^7.0.3",
|
|
114
114
|
"css-loader": "^6.9.0",
|
|
@@ -141,6 +141,6 @@
|
|
|
141
141
|
"webpack-fix-style-only-entries": "^0.6.1"
|
|
142
142
|
},
|
|
143
143
|
"optionalDependencies": {
|
|
144
|
-
"@rollup/rollup-linux-x64-gnu": "^4.
|
|
144
|
+
"@rollup/rollup-linux-x64-gnu": "^4.34.6"
|
|
145
145
|
}
|
|
146
146
|
}
|
|
@@ -64,7 +64,7 @@ export const CardSection: FC<CardSectionProps> = ({
|
|
|
64
64
|
const renderTitle =
|
|
65
65
|
typeof title === 'string' ? (
|
|
66
66
|
<Box className="m-bottom-md">
|
|
67
|
-
<Box as="h4" fontWeight="
|
|
67
|
+
<Box as="h4" fontWeight="semibold" fontSize="sm" color="base">
|
|
68
68
|
{title}
|
|
69
69
|
</Box>
|
|
70
70
|
</Box>
|
|
@@ -116,9 +116,9 @@ export const CommonExample = () =>
|
|
|
116
116
|
</div>
|
|
117
117
|
),
|
|
118
118
|
},
|
|
119
|
-
{ heading: '
|
|
120
|
-
{ heading: '
|
|
121
|
-
{ heading: '
|
|
119
|
+
{ heading: 'Phone', dataKey: 'phone', width: 125 },
|
|
120
|
+
{ heading: 'Plan', dataKey: 'plan', width: 125 },
|
|
121
|
+
{ heading: 'Status', dataKey: 'status', width: 125 },
|
|
122
122
|
];
|
|
123
123
|
const tableData = [
|
|
124
124
|
{
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
.table-header-cell {
|
|
2
2
|
text-align: left;
|
|
3
|
-
text-transform: uppercase;
|
|
4
3
|
letter-spacing: 0.05em;
|
|
5
4
|
white-space: nowrap;
|
|
6
5
|
background-color: var(--color-background-primary);
|
|
7
6
|
color: var(--color-font-secondary);
|
|
8
|
-
font-
|
|
9
|
-
font-weight: var(--size-font-weight-bold);
|
|
7
|
+
font-weight: var(--size-font-weight-medium);
|
|
10
8
|
padding: var(--size-spacing-md) var(--size-spacing-2xl);
|
|
11
9
|
|
|
12
10
|
&.sortable {
|
|
@@ -33,7 +31,6 @@
|
|
|
33
31
|
z-index: var(--size-z-index-sticky);
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
|
|
37
34
|
&.sticky-column-left {
|
|
38
35
|
left: 0;
|
|
39
36
|
}
|
|
@@ -45,11 +42,11 @@
|
|
|
45
42
|
&.sticky-column {
|
|
46
43
|
position: sticky;
|
|
47
44
|
z-index: calc(var(--size-z-index-sticky) + 1);
|
|
48
|
-
box-shadow: 5px 0 5px -2px rgb(0 0 0 / 10%),
|
|
45
|
+
box-shadow: 5px 0 5px -2px rgb(0 0 0 / 10%),
|
|
46
|
+
-5px 0 5px -2px rgb(0 0 0 / 10%);
|
|
49
47
|
background-color: var(--color-background-primary);
|
|
50
48
|
}
|
|
51
49
|
|
|
52
|
-
|
|
53
50
|
&.align-right {
|
|
54
51
|
text-align: right;
|
|
55
52
|
}
|
|
@@ -65,4 +62,4 @@
|
|
|
65
62
|
margin-left: var(--size-spacing-xs);
|
|
66
63
|
}
|
|
67
64
|
}
|
|
68
|
-
}
|
|
65
|
+
}
|