@uniformdev/design-system 20.50.3-alpha.6 → 20.51.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/esm/index.js +9 -2
- package/dist/index.js +9 -2
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -6136,17 +6136,20 @@ var buttonSizeBase = css37`
|
|
|
6136
6136
|
--icon-padding: var(--spacing-sm);
|
|
6137
6137
|
--svg-size: 1rem;
|
|
6138
6138
|
--line-offset: -1px;
|
|
6139
|
+
--margin-left: -0.625rem;
|
|
6139
6140
|
line-height: 1.25;
|
|
6140
6141
|
`;
|
|
6141
6142
|
var buttonSizeSmall = css37`
|
|
6142
6143
|
--icon-padding: var(--spacing-xs);
|
|
6143
6144
|
--svg-size: 0.85rem;
|
|
6144
6145
|
--line-offset: -1px;
|
|
6146
|
+
--margin-left: -0.325rem;
|
|
6145
6147
|
`;
|
|
6146
6148
|
var buttonSizeLarge = css37`
|
|
6147
6149
|
--icon-padding: var(--spacing-sm);
|
|
6148
6150
|
--svg-size: 1rem;
|
|
6149
6151
|
--line-offset: -1px;
|
|
6152
|
+
--margin-left: -0.625rem;
|
|
6150
6153
|
`;
|
|
6151
6154
|
var ButtonWithMenuContainer = css37`
|
|
6152
6155
|
border: 1px solid transparent;
|
|
@@ -6220,6 +6223,10 @@ var ButtonWithMenuIcon = (disabled2) => css37`
|
|
|
6220
6223
|
align-items: center;
|
|
6221
6224
|
justify-content: center;
|
|
6222
6225
|
pointer-events: ${disabled2 ? "none" : "auto"};
|
|
6226
|
+
background: transparent;
|
|
6227
|
+
border: none;
|
|
6228
|
+
color: inherit;
|
|
6229
|
+
cursor: ${disabled2 ? "default" : "pointer"};
|
|
6223
6230
|
width: 100%;
|
|
6224
6231
|
height: 100%;
|
|
6225
6232
|
`;
|
|
@@ -6258,10 +6265,10 @@ var buttonSecondaryOutline = css37`
|
|
|
6258
6265
|
}
|
|
6259
6266
|
`;
|
|
6260
6267
|
var buttonWithMenuIconOffset = css37`
|
|
6261
|
-
margin-left: -
|
|
6268
|
+
margin-left: var(--margin-left);
|
|
6262
6269
|
`;
|
|
6263
6270
|
var wholeButtonWithMenuIconOffset = css37`
|
|
6264
|
-
margin: 3px -
|
|
6271
|
+
margin: 3px var(--margin-left) 0 3px;
|
|
6265
6272
|
`;
|
|
6266
6273
|
|
|
6267
6274
|
// src/components/ButtonWithMenu/ButtonWithMenu.tsx
|
package/dist/index.js
CHANGED
|
@@ -7916,17 +7916,20 @@ var buttonSizeBase = import_react60.css`
|
|
|
7916
7916
|
--icon-padding: var(--spacing-sm);
|
|
7917
7917
|
--svg-size: 1rem;
|
|
7918
7918
|
--line-offset: -1px;
|
|
7919
|
+
--margin-left: -0.625rem;
|
|
7919
7920
|
line-height: 1.25;
|
|
7920
7921
|
`;
|
|
7921
7922
|
var buttonSizeSmall = import_react60.css`
|
|
7922
7923
|
--icon-padding: var(--spacing-xs);
|
|
7923
7924
|
--svg-size: 0.85rem;
|
|
7924
7925
|
--line-offset: -1px;
|
|
7926
|
+
--margin-left: -0.325rem;
|
|
7925
7927
|
`;
|
|
7926
7928
|
var buttonSizeLarge = import_react60.css`
|
|
7927
7929
|
--icon-padding: var(--spacing-sm);
|
|
7928
7930
|
--svg-size: 1rem;
|
|
7929
7931
|
--line-offset: -1px;
|
|
7932
|
+
--margin-left: -0.625rem;
|
|
7930
7933
|
`;
|
|
7931
7934
|
var ButtonWithMenuContainer = import_react60.css`
|
|
7932
7935
|
border: 1px solid transparent;
|
|
@@ -8000,6 +8003,10 @@ var ButtonWithMenuIcon = (disabled2) => import_react60.css`
|
|
|
8000
8003
|
align-items: center;
|
|
8001
8004
|
justify-content: center;
|
|
8002
8005
|
pointer-events: ${disabled2 ? "none" : "auto"};
|
|
8006
|
+
background: transparent;
|
|
8007
|
+
border: none;
|
|
8008
|
+
color: inherit;
|
|
8009
|
+
cursor: ${disabled2 ? "default" : "pointer"};
|
|
8003
8010
|
width: 100%;
|
|
8004
8011
|
height: 100%;
|
|
8005
8012
|
`;
|
|
@@ -8038,10 +8045,10 @@ var buttonSecondaryOutline = import_react60.css`
|
|
|
8038
8045
|
}
|
|
8039
8046
|
`;
|
|
8040
8047
|
var buttonWithMenuIconOffset = import_react60.css`
|
|
8041
|
-
margin-left: -
|
|
8048
|
+
margin-left: var(--margin-left);
|
|
8042
8049
|
`;
|
|
8043
8050
|
var wholeButtonWithMenuIconOffset = import_react60.css`
|
|
8044
|
-
margin: 3px -
|
|
8051
|
+
margin: 3px var(--margin-left) 0 3px;
|
|
8045
8052
|
`;
|
|
8046
8053
|
|
|
8047
8054
|
// src/components/ButtonWithMenu/ButtonWithMenu.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.51.0",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"exports": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@storybook/react-vite": "10.1.0",
|
|
36
36
|
"@types/react": "19.2.2",
|
|
37
37
|
"@types/react-dom": "19.2.2",
|
|
38
|
-
"@uniformdev/canvas": "^20.
|
|
39
|
-
"@uniformdev/richtext": "^20.
|
|
38
|
+
"@uniformdev/canvas": "^20.51.0",
|
|
39
|
+
"@uniformdev/richtext": "^20.51.0",
|
|
40
40
|
"autoprefixer": "10.4.21",
|
|
41
41
|
"hygen": "6.2.11",
|
|
42
42
|
"jsdom": "20.0.3",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "4e1041ff207d9098efcdca31686c5d58615315b3"
|
|
92
92
|
}
|