@cerberus-design/react 1.2.1 → 1.3.0-rc.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/components/admonition/primitives.cjs +5 -5
- package/dist/components/admonition/primitives.d.cts +13 -2856
- package/dist/components/admonition/primitives.d.ts +13 -2856
- package/dist/components/admonition/primitives.js +6 -6
- package/dist/components/combobox/use-stateful-collection.cjs +1 -1
- package/dist/components/combobox/use-stateful-collection.js +1 -1
- package/dist/components/dialog/dialog.cjs +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/dialog/index.cjs +1 -0
- package/dist/components/dialog/index.js +2 -2
- package/dist/components/dialog/primitives.cjs +2 -0
- package/dist/components/dialog/primitives.d.cts +5 -2
- package/dist/components/dialog/primitives.d.ts +5 -2
- package/dist/components/dialog/primitives.js +2 -1
- package/dist/components/icon-button/button.cjs +1 -3
- package/dist/components/icon-button/button.js +1 -3
- package/dist/components/icon-button/primitives.cjs +4 -2
- package/dist/components/icon-button/primitives.d.cts +5 -5
- package/dist/components/icon-button/primitives.d.ts +5 -5
- package/dist/components/icon-button/primitives.js +4 -2
- package/dist/components/notifications/center.cjs +7 -23
- package/dist/components/notifications/center.d.cts +2 -6
- package/dist/components/notifications/center.d.ts +2 -6
- package/dist/components/notifications/center.js +8 -23
- package/dist/components/notifications/index.cjs +0 -14
- package/dist/components/notifications/index.js +3 -3
- package/dist/components/notifications/match-icon.cjs +7 -1
- package/dist/components/notifications/match-icon.d.cts +1 -5
- package/dist/components/notifications/match-icon.d.ts +1 -5
- package/dist/components/notifications/match-icon.js +7 -1
- package/dist/components/notifications/toaster.d.cts +0 -1
- package/dist/components/notifications/toaster.d.ts +0 -1
- package/dist/components/notifications/toaster.js +2 -2
- package/dist/components/notifications/types.d.cts +4 -30
- package/dist/components/notifications/types.d.ts +4 -30
- package/dist/components/pagination/triggers.d.cts +2 -3
- package/dist/components/pagination/triggers.d.ts +2 -3
- package/dist/components/progress/primitives.cjs +2 -2
- package/dist/components/progress/primitives.d.cts +7 -1904
- package/dist/components/progress/primitives.d.ts +7 -1904
- package/dist/components/progress/primitives.js +3 -3
- package/dist/components/table/primitives.cjs +10 -10
- package/dist/components/table/primitives.d.cts +23 -9488
- package/dist/components/table/primitives.d.ts +23 -9488
- package/dist/components/table/primitives.js +11 -11
- package/dist/components/tooltip/renderer.cjs +11 -0
- package/dist/components/tooltip/renderer.d.cts +6 -0
- package/dist/components/tooltip/renderer.d.ts +6 -0
- package/dist/components/tooltip/renderer.js +11 -0
- package/dist/components/tooltip/tooltip.cjs +6 -2
- package/dist/components/tooltip/tooltip.d.cts +4 -0
- package/dist/components/tooltip/tooltip.d.ts +4 -0
- package/dist/components/tooltip/tooltip.js +6 -2
- package/dist/index.cjs +4 -5
- package/dist/index.client.d.cts +1 -1
- package/dist/index.client.d.ts +1 -1
- package/dist/index.client.js +2 -2
- package/dist/index.js +6 -6
- package/dist/panda.buildinfo.json +15 -3
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createCerberusPrimitive } from "../../system/index.js";
|
|
2
2
|
import { progressBar } from "styled-system/recipes";
|
|
3
3
|
//#region src/components/progress/primitives.ts
|
|
4
4
|
/**
|
|
@@ -6,11 +6,11 @@ import { progressBar } from "styled-system/recipes";
|
|
|
6
6
|
* @module @cerberus-design/react/components/progress-bar/primitives
|
|
7
7
|
*/
|
|
8
8
|
var { withSlotRecipe } = createCerberusPrimitive(progressBar);
|
|
9
|
-
var ProgressBarRoot = withSlotRecipe(
|
|
9
|
+
var ProgressBarRoot = withSlotRecipe("div", "root", { defaultProps: {
|
|
10
10
|
"aria-valuemin": "0",
|
|
11
11
|
"aria-valuemax": "100",
|
|
12
12
|
role: "progressbar"
|
|
13
13
|
} });
|
|
14
|
-
var ProgressBarBar = withSlotRecipe(
|
|
14
|
+
var ProgressBarBar = withSlotRecipe("div", "bar");
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ProgressBarBar, ProgressBarRoot };
|
|
@@ -6,43 +6,43 @@ let styled_system_recipes = require("styled-system/recipes");
|
|
|
6
6
|
* @module 'table/primitives'
|
|
7
7
|
*/
|
|
8
8
|
var { withSlotRecipe } = require_index.createCerberusPrimitive(styled_system_recipes.table);
|
|
9
|
-
var TableRoot = withSlotRecipe(
|
|
9
|
+
var TableRoot = withSlotRecipe("div", "root", { defaultProps: {
|
|
10
10
|
"data-scope": "table",
|
|
11
11
|
"data-part": "root"
|
|
12
12
|
} });
|
|
13
|
-
var TableEl = withSlotRecipe(
|
|
13
|
+
var TableEl = withSlotRecipe("table", "table", { defaultProps: {
|
|
14
14
|
"data-scope": "table",
|
|
15
15
|
"data-part": "table"
|
|
16
16
|
} });
|
|
17
|
-
var Caption = withSlotRecipe(
|
|
17
|
+
var Caption = withSlotRecipe("caption", "caption", { defaultProps: {
|
|
18
18
|
"data-scope": "table",
|
|
19
19
|
"data-part": "caption"
|
|
20
20
|
} });
|
|
21
|
-
var Thead = withSlotRecipe(
|
|
21
|
+
var Thead = withSlotRecipe("thead", "thead", { defaultProps: {
|
|
22
22
|
"data-scope": "table",
|
|
23
23
|
"data-part": "header"
|
|
24
24
|
} });
|
|
25
|
-
var Th = withSlotRecipe(
|
|
25
|
+
var Th = withSlotRecipe("th", "th", { defaultProps: {
|
|
26
26
|
"data-scope": "table",
|
|
27
27
|
"data-part": "header-col"
|
|
28
28
|
} });
|
|
29
|
-
var Tbody = withSlotRecipe(
|
|
29
|
+
var Tbody = withSlotRecipe("tbody", "tbody", { defaultProps: {
|
|
30
30
|
"data-scope": "table",
|
|
31
31
|
"data-part": "body"
|
|
32
32
|
} });
|
|
33
|
-
var Tr = withSlotRecipe(
|
|
33
|
+
var Tr = withSlotRecipe("tr", "tr", { defaultProps: {
|
|
34
34
|
"data-scope": "table",
|
|
35
35
|
"data-part": "row"
|
|
36
36
|
} });
|
|
37
|
-
var Td = withSlotRecipe(
|
|
37
|
+
var Td = withSlotRecipe("td", "td", { defaultProps: {
|
|
38
38
|
"data-scope": "table",
|
|
39
39
|
"data-part": "cell"
|
|
40
40
|
} });
|
|
41
|
-
var Tfoot = withSlotRecipe(
|
|
41
|
+
var Tfoot = withSlotRecipe("tfoot", "tfoot", { defaultProps: {
|
|
42
42
|
"data-scope": "table",
|
|
43
43
|
"data-part": "footer"
|
|
44
44
|
} });
|
|
45
|
-
var TableTrigger = withSlotRecipe(
|
|
45
|
+
var TableTrigger = withSlotRecipe("button", "trigger", { defaultProps: {
|
|
46
46
|
"data-scope": "table",
|
|
47
47
|
"data-part": "trigger"
|
|
48
48
|
} });
|