@ndla/primitives 1.0.53-alpha.0 → 1.0.54-alpha.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/panda.buildinfo.json +2 -0
- package/dist/styles.css +8 -0
- package/es/Spinner.js +2 -2
- package/es/index.js +1 -0
- package/lib/Spinner.d.ts +2 -2
- package/lib/Spinner.js +2 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.js +7 -0
- package/package.json +2 -2
|
@@ -504,6 +504,8 @@
|
|
|
504
504
|
"borderInlineEndColor]___[value:stroke.default",
|
|
505
505
|
"animationDuration]___[value:2s]___[cond:_motionReduce",
|
|
506
506
|
"borderWidth]___[value:4px",
|
|
507
|
+
"height]___[value:small",
|
|
508
|
+
"width]___[value:small",
|
|
507
509
|
"borderWidth]___[value:8px",
|
|
508
510
|
"background]___[value:surface.disabled.strong",
|
|
509
511
|
"padding]___[value:1",
|
package/dist/styles.css
CHANGED
|
@@ -813,6 +813,14 @@
|
|
|
813
813
|
border-block-color: var(--colors-background-subtle);
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
+
.h_small {
|
|
817
|
+
height: var(--sizes-small);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.w_small {
|
|
821
|
+
width: var(--sizes-small);
|
|
822
|
+
}
|
|
823
|
+
|
|
816
824
|
.bg_surface\.disabled\.strong {
|
|
817
825
|
background: var(--colors-surface-disabled-strong);
|
|
818
826
|
}
|
package/es/Spinner.js
CHANGED
package/es/index.js
CHANGED
|
@@ -12,6 +12,7 @@ export { Badge } from "./Badge";
|
|
|
12
12
|
export { BlockQuote } from "./BlockQuote";
|
|
13
13
|
export { Button, IconButton, buttonBaseRecipe, buttonRecipe, iconButtonRecipe } from "./Button";
|
|
14
14
|
export { CardRoot, CardHeading, CardContent, CardImage } from "./Card/Card";
|
|
15
|
+
export { createStyleContext } from "./createStyleContext";
|
|
15
16
|
export { ToggleGroupRoot, ToggleGroupItem } from "./ToggleGroup";
|
|
16
17
|
export { CheckboxRoot, CheckboxIndicator, CheckboxLabel, CheckboxControl, CheckboxGroup, CheckboxHiddenInput } from "./Checkbox";
|
|
17
18
|
export { ComboboxRoot, ComboboxClearTrigger, ComboboxContent, ComboboxControl, ComboboxInput, ComboboxItemGroupLabel, ComboboxItemGroup, ComboboxItemIndicator, ComboboxItem, ComboboxItemText, ComboboxLabel, ComboboxPositioner, ComboboxTrigger, ComboboxList } from "./Combobox";
|
package/lib/Spinner.d.ts
CHANGED
package/lib/Spinner.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export type { ButtonProps, ButtonVariantProps, IconButtonProps, IconButtonVarian
|
|
|
17
17
|
export { Button, IconButton, buttonBaseRecipe, buttonRecipe, iconButtonRecipe } from "./Button";
|
|
18
18
|
export type { CardRootProps, CardVariantProps } from "./Card/Card";
|
|
19
19
|
export { CardRoot, CardHeading, CardContent, CardImage } from "./Card/Card";
|
|
20
|
+
export { createStyleContext } from "./createStyleContext";
|
|
20
21
|
export { ToggleGroupRoot, ToggleGroupItem } from "./ToggleGroup";
|
|
21
22
|
export type { ToggleGroupRootProps, ToggleGroupVariantProps, ToggleGroupItemProps, ToggleGroupItemVariantProps, } from "./ToggleGroup";
|
|
22
23
|
export type { CheckboxVariantProps, CheckboxRootProps } from "./Checkbox";
|
package/lib/index.js
CHANGED
|
@@ -1287,6 +1287,12 @@ Object.defineProperty(exports, "buttonRecipe", {
|
|
|
1287
1287
|
return _Button.buttonRecipe;
|
|
1288
1288
|
}
|
|
1289
1289
|
});
|
|
1290
|
+
Object.defineProperty(exports, "createStyleContext", {
|
|
1291
|
+
enumerable: true,
|
|
1292
|
+
get: function () {
|
|
1293
|
+
return _createStyleContext.createStyleContext;
|
|
1294
|
+
}
|
|
1295
|
+
});
|
|
1290
1296
|
Object.defineProperty(exports, "getSrcSet", {
|
|
1291
1297
|
enumerable: true,
|
|
1292
1298
|
get: function () {
|
|
@@ -1311,6 +1317,7 @@ var _Badge = require("./Badge");
|
|
|
1311
1317
|
var _BlockQuote = require("./BlockQuote");
|
|
1312
1318
|
var _Button = require("./Button");
|
|
1313
1319
|
var _Card = require("./Card/Card");
|
|
1320
|
+
var _createStyleContext = require("./createStyleContext");
|
|
1314
1321
|
var _ToggleGroup = require("./ToggleGroup");
|
|
1315
1322
|
var _Checkbox = require("./Checkbox");
|
|
1316
1323
|
var _Combobox = require("./Combobox");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/primitives",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.54-alpha.0",
|
|
4
4
|
"description": "Primitive components for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "e06a706dabbce890a06465bf25e2a424811e7523"
|
|
47
47
|
}
|