@stokelp/styled-system 4.1.0 → 4.1.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/panda/preset.mjs +18 -18
- package/package.json +1 -1
package/dist/panda/preset.mjs
CHANGED
|
@@ -4300,7 +4300,7 @@ const headingRecipe = defineRecipe({
|
|
|
4300
4300
|
});
|
|
4301
4301
|
//#endregion
|
|
4302
4302
|
//#region ../../node_modules/@zag-js/anatomy/dist/create-anatomy.mjs
|
|
4303
|
-
|
|
4303
|
+
const createAnatomy = (name, parts = []) => ({
|
|
4304
4304
|
parts: (...values) => {
|
|
4305
4305
|
if (isEmpty(parts)) return createAnatomy(name, values);
|
|
4306
4306
|
throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
|
|
@@ -4317,76 +4317,76 @@ var createAnatomy = (name, parts = []) => ({
|
|
|
4317
4317
|
}
|
|
4318
4318
|
} }), {})
|
|
4319
4319
|
});
|
|
4320
|
-
|
|
4321
|
-
|
|
4320
|
+
const toKebabCase = (value) => value.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
|
|
4321
|
+
const isEmpty = (v) => v.length === 0;
|
|
4322
4322
|
//#endregion
|
|
4323
4323
|
//#region ../../node_modules/@zag-js/accordion/dist/accordion.anatomy.mjs
|
|
4324
|
-
|
|
4324
|
+
const anatomy$15 = createAnatomy("accordion").parts("root", "item", "itemTrigger", "itemContent", "itemIndicator");
|
|
4325
4325
|
anatomy$15.build();
|
|
4326
4326
|
//#endregion
|
|
4327
4327
|
//#region ../../node_modules/@zag-js/avatar/dist/avatar.anatomy.mjs
|
|
4328
|
-
|
|
4328
|
+
const anatomy$14 = createAnatomy("avatar").parts("root", "image", "fallback");
|
|
4329
4329
|
anatomy$14.build();
|
|
4330
4330
|
//#endregion
|
|
4331
4331
|
//#region ../../node_modules/@zag-js/checkbox/dist/checkbox.anatomy.mjs
|
|
4332
|
-
|
|
4332
|
+
const anatomy$13 = createAnatomy("checkbox").parts("root", "label", "control", "indicator");
|
|
4333
4333
|
anatomy$13.build();
|
|
4334
4334
|
//#endregion
|
|
4335
4335
|
//#region ../../node_modules/@ark-ui/react/dist/components/checkbox/checkbox.anatomy.js
|
|
4336
4336
|
var checkboxAnatomy = anatomy$13.extendWith("group");
|
|
4337
4337
|
//#endregion
|
|
4338
4338
|
//#region ../../node_modules/@zag-js/collapsible/dist/collapsible.anatomy.mjs
|
|
4339
|
-
|
|
4339
|
+
const anatomy$12 = createAnatomy("collapsible").parts("root", "trigger", "content", "indicator");
|
|
4340
4340
|
anatomy$12.build();
|
|
4341
4341
|
//#endregion
|
|
4342
4342
|
//#region ../../node_modules/@zag-js/combobox/dist/combobox.anatomy.mjs
|
|
4343
|
-
|
|
4343
|
+
const anatomy$11 = createAnatomy("combobox").parts("root", "clearTrigger", "content", "control", "input", "item", "itemGroup", "itemGroupLabel", "itemIndicator", "itemText", "label", "list", "positioner", "trigger");
|
|
4344
4344
|
anatomy$11.build();
|
|
4345
4345
|
//#endregion
|
|
4346
4346
|
//#region ../../node_modules/@ark-ui/react/dist/components/combobox/combobox.anatomy.js
|
|
4347
4347
|
var comboboxAnatomy = anatomy$11.extendWith("empty");
|
|
4348
4348
|
//#endregion
|
|
4349
4349
|
//#region ../../node_modules/@zag-js/date-picker/dist/date-picker.anatomy.mjs
|
|
4350
|
-
|
|
4350
|
+
const anatomy$10 = createAnatomy("date-picker").parts("clearTrigger", "content", "control", "input", "label", "monthSelect", "nextTrigger", "positioner", "presetTrigger", "prevTrigger", "rangeText", "root", "table", "tableBody", "tableCell", "tableCellTrigger", "tableHead", "tableHeader", "tableRow", "trigger", "view", "viewControl", "viewTrigger", "yearSelect");
|
|
4351
4351
|
anatomy$10.build();
|
|
4352
4352
|
//#endregion
|
|
4353
4353
|
//#region ../../node_modules/@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js
|
|
4354
4354
|
var datePickerAnatomy = anatomy$10.extendWith("view", "valueText");
|
|
4355
4355
|
//#endregion
|
|
4356
4356
|
//#region ../../node_modules/@zag-js/dialog/dist/dialog.anatomy.mjs
|
|
4357
|
-
|
|
4357
|
+
const anatomy$9 = createAnatomy("dialog").parts("trigger", "backdrop", "positioner", "content", "title", "description", "closeTrigger");
|
|
4358
4358
|
anatomy$9.build();
|
|
4359
4359
|
//#endregion
|
|
4360
4360
|
//#region ../../node_modules/@zag-js/menu/dist/menu.anatomy.mjs
|
|
4361
|
-
|
|
4361
|
+
const anatomy$8 = createAnatomy("menu").parts("arrow", "arrowTip", "content", "contextTrigger", "indicator", "item", "itemGroup", "itemGroupLabel", "itemIndicator", "itemText", "positioner", "separator", "trigger", "triggerItem");
|
|
4362
4362
|
anatomy$8.build();
|
|
4363
4363
|
//#endregion
|
|
4364
4364
|
//#region ../../node_modules/@zag-js/popover/dist/popover.anatomy.mjs
|
|
4365
|
-
|
|
4365
|
+
const anatomy$7 = createAnatomy("popover").parts("arrow", "arrowTip", "anchor", "trigger", "indicator", "positioner", "content", "title", "description", "closeTrigger");
|
|
4366
4366
|
anatomy$7.build();
|
|
4367
4367
|
//#endregion
|
|
4368
4368
|
//#region ../../node_modules/@zag-js/radio-group/dist/radio-group.anatomy.mjs
|
|
4369
|
-
|
|
4369
|
+
const anatomy$6 = createAnatomy("radio-group").parts("root", "label", "item", "itemText", "itemControl", "indicator");
|
|
4370
4370
|
anatomy$6.build();
|
|
4371
4371
|
//#endregion
|
|
4372
4372
|
//#region ../../node_modules/@zag-js/select/dist/select.anatomy.mjs
|
|
4373
|
-
|
|
4373
|
+
const anatomy$5 = createAnatomy("select").parts("label", "positioner", "trigger", "indicator", "clearTrigger", "item", "itemText", "itemIndicator", "itemGroup", "itemGroupLabel", "list", "content", "root", "control", "valueText");
|
|
4374
4374
|
anatomy$5.build();
|
|
4375
4375
|
//#endregion
|
|
4376
4376
|
//#region ../../node_modules/@zag-js/steps/dist/steps.anatomy.mjs
|
|
4377
|
-
|
|
4377
|
+
const anatomy$4 = createAnatomy("steps").parts("root", "list", "item", "trigger", "indicator", "separator", "content", "nextTrigger", "prevTrigger", "progress");
|
|
4378
4378
|
anatomy$4.build();
|
|
4379
4379
|
//#endregion
|
|
4380
4380
|
//#region ../../node_modules/@zag-js/switch/dist/switch.anatomy.mjs
|
|
4381
|
-
|
|
4381
|
+
const anatomy$3 = createAnatomy("switch").parts("root", "label", "control", "thumb");
|
|
4382
4382
|
anatomy$3.build();
|
|
4383
4383
|
//#endregion
|
|
4384
4384
|
//#region ../../node_modules/@zag-js/tabs/dist/tabs.anatomy.mjs
|
|
4385
|
-
|
|
4385
|
+
const anatomy$2 = createAnatomy("tabs").parts("root", "list", "trigger", "content", "indicator");
|
|
4386
4386
|
anatomy$2.build();
|
|
4387
4387
|
//#endregion
|
|
4388
4388
|
//#region ../../node_modules/@zag-js/tooltip/dist/tooltip.anatomy.mjs
|
|
4389
|
-
|
|
4389
|
+
const anatomy$1 = createAnatomy("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content");
|
|
4390
4390
|
anatomy$1.build();
|
|
4391
4391
|
//#endregion
|
|
4392
4392
|
//#region ../ui/src/theme/recipes/switch.ts
|