@progress/kendo-themes-html 6.4.1-dev.0 → 6.5.0-dev.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.
Files changed (58) hide show
  1. package/dist/cjs/button/tests/button-clear.js +5 -77
  2. package/dist/cjs/button/tests/button-flat.js +5 -77
  3. package/dist/cjs/button/tests/button-link.js +5 -77
  4. package/dist/cjs/button/tests/button-outline.js +5 -77
  5. package/dist/cjs/button/tests/button-rtl.js +39 -36
  6. package/dist/cjs/button/tests/button-size.js +8 -80
  7. package/dist/cjs/button/tests/button-solid.js +5 -77
  8. package/dist/cjs/button/tests/button.js +39 -36
  9. package/dist/cjs/gantt/tests/gantt-react.js +47 -47
  10. package/dist/cjs/gantt/tests/gantt-row-reordering.js +58 -58
  11. package/dist/cjs/gantt/tests/gantt.js +59 -59
  12. package/dist/cjs/grid/tests/grid-column-menu-tabbed.js +4 -4
  13. package/dist/cjs/treelist/tests/treelist-aggregate-react.js +20 -20
  14. package/dist/cjs/treelist/tests/treelist-aggregates.js +34 -34
  15. package/dist/cjs/treelist/tests/treelist-react.js +15 -15
  16. package/dist/cjs/treelist/tests/treelist-row-reordering.js +15 -15
  17. package/dist/cjs/treelist/tests/treelist.js +16 -16
  18. package/dist/esm/button/tests/button-clear.js +5 -77
  19. package/dist/esm/button/tests/button-flat.js +5 -77
  20. package/dist/esm/button/tests/button-link.js +5 -77
  21. package/dist/esm/button/tests/button-outline.js +5 -77
  22. package/dist/esm/button/tests/button-rtl.js +39 -36
  23. package/dist/esm/button/tests/button-size.js +8 -80
  24. package/dist/esm/button/tests/button-solid.js +5 -77
  25. package/dist/esm/button/tests/button.js +39 -36
  26. package/dist/esm/gantt/tests/gantt-react.js +47 -47
  27. package/dist/esm/gantt/tests/gantt-row-reordering.js +58 -58
  28. package/dist/esm/gantt/tests/gantt.js +59 -59
  29. package/dist/esm/grid/tests/grid-column-menu-tabbed.js +4 -4
  30. package/dist/esm/treelist/tests/treelist-aggregate-react.js +20 -20
  31. package/dist/esm/treelist/tests/treelist-aggregates.js +34 -34
  32. package/dist/esm/treelist/tests/treelist-react.js +15 -15
  33. package/dist/esm/treelist/tests/treelist-row-reordering.js +15 -15
  34. package/dist/esm/treelist/tests/treelist.js +16 -16
  35. package/dist/types/button/templates/icon-button.d.ts +1 -2
  36. package/dist/types/button/templates/icon-text-button.d.ts +1 -2
  37. package/dist/types/button/templates/text-button.d.ts +1 -2
  38. package/package.json +2 -2
  39. package/src/button/templates/icon-button.tsx +2 -2
  40. package/src/button/templates/icon-text-button.tsx +2 -2
  41. package/src/button/templates/text-button.tsx +2 -2
  42. package/src/button/tests/button-clear.tsx +13 -92
  43. package/src/button/tests/button-flat.tsx +13 -92
  44. package/src/button/tests/button-link.tsx +13 -92
  45. package/src/button/tests/button-outline.tsx +13 -92
  46. package/src/button/tests/button-rtl.tsx +37 -38
  47. package/src/button/tests/button-size.tsx +13 -86
  48. package/src/button/tests/button-solid.tsx +13 -91
  49. package/src/button/tests/button.tsx +37 -40
  50. package/src/gantt/tests/gantt-react.tsx +54 -46
  51. package/src/gantt/tests/gantt-row-reordering.tsx +23 -23
  52. package/src/gantt/tests/gantt.tsx +45 -23
  53. package/src/grid/tests/grid-column-menu-tabbed.tsx +4 -4
  54. package/src/treelist/tests/treelist-aggregate-react.tsx +31 -10
  55. package/src/treelist/tests/treelist-aggregates.tsx +41 -20
  56. package/src/treelist/tests/treelist-react.tsx +15 -15
  57. package/src/treelist/tests/treelist-row-reordering.tsx +5 -5
  58. package/src/treelist/tests/treelist.tsx +32 -6
@@ -4322,6 +4322,7 @@ import { jsx as jsx6 } from "react/jsx-runtime";
4322
4322
 
4323
4323
  // src/button/templates/text-button.tsx
4324
4324
  import { jsx as jsx7 } from "react/jsx-runtime";
4325
+ var TextButton = (props) => /* @__PURE__ */ jsx7(Button, { children: "Button", ...props });
4325
4326
 
4326
4327
  // src/button/tests/button-flat.tsx
4327
4328
  import { Fragment as Fragment5, jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -4340,83 +4341,10 @@ var button_flat_default = () => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4340
4341
  /* @__PURE__ */ jsx8("span", { children: "Active" }),
4341
4342
  /* @__PURE__ */ jsx8("span", { children: "Selected" }),
4342
4343
  /* @__PURE__ */ jsx8("span", { children: "Disabled" }),
4343
- /* @__PURE__ */ jsx8("span", { children: "base" }),
4344
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", children: "Normal" }) }),
4345
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", hover: true, children: "Hover" }) }),
4346
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", focus: true, children: "Focus" }) }),
4347
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", active: true, children: "Active" }) }),
4348
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", selected: true, children: "Selected" }) }),
4349
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", disabled: true, children: "Disabled" }) }),
4350
- /* @__PURE__ */ jsx8("span", { children: "primary" }),
4351
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "primary", children: "Normal" }) }),
4352
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "primary", hover: true, children: "Hover" }) }),
4353
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "primary", focus: true, children: "Focus" }) }),
4354
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "primary", active: true, children: "Active" }) }),
4355
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "primary", selected: true, children: "Selected" }) }),
4356
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "primary", disabled: true, children: "Disabled" }) }),
4357
- /* @__PURE__ */ jsx8("span", { children: "secondary" }),
4358
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "secondary", children: "Normal" }) }),
4359
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "secondary", hover: true, children: "Hover" }) }),
4360
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "secondary", focus: true, children: "Focus" }) }),
4361
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "secondary", active: true, children: "Active" }) }),
4362
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "secondary", selected: true, children: "Selected" }) }),
4363
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "secondary", disabled: true, children: "Disabled" }) }),
4364
- /* @__PURE__ */ jsx8("span", { children: "tertiary" }),
4365
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "tertiary", children: "Normal" }) }),
4366
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "tertiary", hover: true, children: "Hover" }) }),
4367
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "tertiary", focus: true, children: "Focus" }) }),
4368
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "tertiary", active: true, children: "Active" }) }),
4369
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "tertiary", selected: true, children: "Selected" }) }),
4370
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "tertiary", disabled: true, children: "Disabled" }) }),
4371
- /* @__PURE__ */ jsx8("span", { children: "info" }),
4372
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "info", children: "Normal" }) }),
4373
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "info", hover: true, children: "Hover" }) }),
4374
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "info", focus: true, children: "Focus" }) }),
4375
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "info", active: true, children: "Active" }) }),
4376
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "info", selected: true, children: "Selected" }) }),
4377
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "info", disabled: true, children: "Disabled" }) }),
4378
- /* @__PURE__ */ jsx8("span", { children: "success" }),
4379
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "success", children: "Normal" }) }),
4380
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "success", hover: true, children: "Hover" }) }),
4381
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "success", focus: true, children: "Focus" }) }),
4382
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "success", active: true, children: "Active" }) }),
4383
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "success", selected: true, children: "Selected" }) }),
4384
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "success", disabled: true, children: "Disabled" }) }),
4385
- /* @__PURE__ */ jsx8("span", { children: "warning" }),
4386
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "warning", children: "Normal" }) }),
4387
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "warning", hover: true, children: "Hover" }) }),
4388
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "warning", focus: true, children: "Focus" }) }),
4389
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "warning", active: true, children: "Active" }) }),
4390
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "warning", selected: true, children: "Selected" }) }),
4391
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "warning", disabled: true, children: "Disabled" }) }),
4392
- /* @__PURE__ */ jsx8("span", { children: "error" }),
4393
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "error", children: "Normal" }) }),
4394
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "error", hover: true, children: "Hover" }) }),
4395
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "error", focus: true, children: "Focus" }) }),
4396
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "error", active: true, children: "Active" }) }),
4397
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "error", selected: true, children: "Selected" }) }),
4398
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "error", disabled: true, children: "Disabled" }) }),
4399
- /* @__PURE__ */ jsx8("span", { children: "dark" }),
4400
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "dark", children: "Normal" }) }),
4401
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "dark", hover: true, children: "Hover" }) }),
4402
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "dark", focus: true, children: "Focus" }) }),
4403
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "dark", active: true, children: "Active" }) }),
4404
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "dark", selected: true, children: "Selected" }) }),
4405
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "dark", disabled: true, children: "Disabled" }) }),
4406
- /* @__PURE__ */ jsx8("span", { children: "light" }),
4407
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "light", children: "Normal" }) }),
4408
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "light", hover: true, children: "Hover" }) }),
4409
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "light", focus: true, children: "Focus" }) }),
4410
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "light", active: true, children: "Active" }) }),
4411
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "light", selected: true, children: "Selected" }) }),
4412
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "light", disabled: true, children: "Disabled" }) }),
4413
- /* @__PURE__ */ jsx8("span", { children: "inverse" }),
4414
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "inverse", children: "Normal" }) }),
4415
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "inverse", hover: true, children: "Hover" }) }),
4416
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "inverse", focus: true, children: "Focus" }) }),
4417
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "inverse", active: true, children: "Active" }) }),
4418
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "inverse", selected: true, children: "Selected" }) }),
4419
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "flat", themeColor: "inverse", disabled: true, children: "Disabled" }) })
4344
+ [...Button.options.themeColor].map((themeColor) => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4345
+ /* @__PURE__ */ jsx8("span", { children: themeColor }),
4346
+ ["normal", ...Button.states].map((state) => /* @__PURE__ */ jsx8(Fragment5, { children: /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(TextButton, { fillMode: "flat", themeColor, ...{ [state]: true }, children: state }) }) }))
4347
+ ] }))
4420
4348
  ] })
4421
4349
  ] });
4422
4350
  export {
@@ -4322,6 +4322,7 @@ import { jsx as jsx6 } from "react/jsx-runtime";
4322
4322
 
4323
4323
  // src/button/templates/text-button.tsx
4324
4324
  import { jsx as jsx7 } from "react/jsx-runtime";
4325
+ var TextButton = (props) => /* @__PURE__ */ jsx7(Button, { children: "Button", ...props });
4325
4326
 
4326
4327
  // src/button/tests/button-link.tsx
4327
4328
  import { Fragment as Fragment5, jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -4340,83 +4341,10 @@ var button_link_default = () => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4340
4341
  /* @__PURE__ */ jsx8("span", { children: "Active" }),
4341
4342
  /* @__PURE__ */ jsx8("span", { children: "Selected" }),
4342
4343
  /* @__PURE__ */ jsx8("span", { children: "Disabled" }),
4343
- /* @__PURE__ */ jsx8("span", { children: "base" }),
4344
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", children: "Normal" }) }),
4345
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", hover: true, children: "Hover" }) }),
4346
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", focus: true, children: "Focus" }) }),
4347
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", active: true, children: "Active" }) }),
4348
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", selected: true, children: "Selected" }) }),
4349
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", disabled: true, children: "Disabled" }) }),
4350
- /* @__PURE__ */ jsx8("span", { children: "primary" }),
4351
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "primary", children: "Normal" }) }),
4352
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "primary", hover: true, children: "Hover" }) }),
4353
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "primary", focus: true, children: "Focus" }) }),
4354
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "primary", active: true, children: "Active" }) }),
4355
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "primary", selected: true, children: "Selected" }) }),
4356
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "primary", disabled: true, children: "Disabled" }) }),
4357
- /* @__PURE__ */ jsx8("span", { children: "secondary" }),
4358
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "secondary", children: "Normal" }) }),
4359
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "secondary", hover: true, children: "Hover" }) }),
4360
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "secondary", focus: true, children: "Focus" }) }),
4361
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "secondary", active: true, children: "Active" }) }),
4362
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "secondary", selected: true, children: "Selected" }) }),
4363
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "secondary", disabled: true, children: "Disabled" }) }),
4364
- /* @__PURE__ */ jsx8("span", { children: "tertiary" }),
4365
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "tertiary", children: "Normal" }) }),
4366
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "tertiary", hover: true, children: "Hover" }) }),
4367
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "tertiary", focus: true, children: "Focus" }) }),
4368
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "tertiary", active: true, children: "Active" }) }),
4369
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "tertiary", selected: true, children: "Selected" }) }),
4370
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "tertiary", disabled: true, children: "Disabled" }) }),
4371
- /* @__PURE__ */ jsx8("span", { children: "info" }),
4372
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "info", children: "Normal" }) }),
4373
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "info", hover: true, children: "Hover" }) }),
4374
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "info", focus: true, children: "Focus" }) }),
4375
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "info", active: true, children: "Active" }) }),
4376
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "info", selected: true, children: "Selected" }) }),
4377
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "info", disabled: true, children: "Disabled" }) }),
4378
- /* @__PURE__ */ jsx8("span", { children: "success" }),
4379
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "success", children: "Normal" }) }),
4380
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "success", hover: true, children: "Hover" }) }),
4381
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "success", focus: true, children: "Focus" }) }),
4382
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "success", active: true, children: "Active" }) }),
4383
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "success", selected: true, children: "Selected" }) }),
4384
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "success", disabled: true, children: "Disabled" }) }),
4385
- /* @__PURE__ */ jsx8("span", { children: "warning" }),
4386
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "warning", children: "Normal" }) }),
4387
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "warning", hover: true, children: "Hover" }) }),
4388
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "warning", focus: true, children: "Focus" }) }),
4389
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "warning", active: true, children: "Active" }) }),
4390
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "warning", selected: true, children: "Selected" }) }),
4391
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "warning", disabled: true, children: "Disabled" }) }),
4392
- /* @__PURE__ */ jsx8("span", { children: "error" }),
4393
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "error", children: "Normal" }) }),
4394
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "error", hover: true, children: "Hover" }) }),
4395
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "error", focus: true, children: "Focus" }) }),
4396
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "error", active: true, children: "Active" }) }),
4397
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "error", selected: true, children: "Selected" }) }),
4398
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "error", disabled: true, children: "Disabled" }) }),
4399
- /* @__PURE__ */ jsx8("span", { children: "dark" }),
4400
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "dark", children: "Normal" }) }),
4401
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "dark", hover: true, children: "Hover" }) }),
4402
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "dark", focus: true, children: "Focus" }) }),
4403
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "dark", active: true, children: "Active" }) }),
4404
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "dark", selected: true, children: "Selected" }) }),
4405
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "dark", disabled: true, children: "Disabled" }) }),
4406
- /* @__PURE__ */ jsx8("span", { children: "light" }),
4407
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "light", children: "Normal" }) }),
4408
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "light", hover: true, children: "Hover" }) }),
4409
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "light", focus: true, children: "Focus" }) }),
4410
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "light", active: true, children: "Active" }) }),
4411
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "light", selected: true, children: "Selected" }) }),
4412
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "light", disabled: true, children: "Disabled" }) }),
4413
- /* @__PURE__ */ jsx8("span", { children: "inverse" }),
4414
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "inverse", children: "Normal" }) }),
4415
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "inverse", hover: true, children: "Hover" }) }),
4416
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "inverse", focus: true, children: "Focus" }) }),
4417
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "inverse", active: true, children: "Active" }) }),
4418
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "inverse", selected: true, children: "Selected" }) }),
4419
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "link", themeColor: "inverse", disabled: true, children: "Disabled" }) })
4344
+ [...Button.options.themeColor].map((themeColor) => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4345
+ /* @__PURE__ */ jsx8("span", { children: themeColor }),
4346
+ ["normal", ...Button.states].map((state) => /* @__PURE__ */ jsx8(Fragment5, { children: /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(TextButton, { fillMode: "link", themeColor, ...{ [state]: true }, children: state }) }) }))
4347
+ ] }))
4420
4348
  ] })
4421
4349
  ] });
4422
4350
  export {
@@ -4322,6 +4322,7 @@ import { jsx as jsx6 } from "react/jsx-runtime";
4322
4322
 
4323
4323
  // src/button/templates/text-button.tsx
4324
4324
  import { jsx as jsx7 } from "react/jsx-runtime";
4325
+ var TextButton = (props) => /* @__PURE__ */ jsx7(Button, { children: "Button", ...props });
4325
4326
 
4326
4327
  // src/button/tests/button-outline.tsx
4327
4328
  import { Fragment as Fragment5, jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -4340,83 +4341,10 @@ var button_outline_default = () => /* @__PURE__ */ jsxs2(Fragment5, { children:
4340
4341
  /* @__PURE__ */ jsx8("span", { children: "Active" }),
4341
4342
  /* @__PURE__ */ jsx8("span", { children: "Selected" }),
4342
4343
  /* @__PURE__ */ jsx8("span", { children: "Disabled" }),
4343
- /* @__PURE__ */ jsx8("span", { children: "base" }),
4344
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", children: "Normal" }) }),
4345
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", hover: true, children: "Hover" }) }),
4346
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", focus: true, children: "Focus" }) }),
4347
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", active: true, children: "Active" }) }),
4348
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", selected: true, children: "Selected" }) }),
4349
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", disabled: true, children: "Disabled" }) }),
4350
- /* @__PURE__ */ jsx8("span", { children: "primary" }),
4351
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "primary", children: "Normal" }) }),
4352
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "primary", hover: true, children: "Hover" }) }),
4353
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "primary", focus: true, children: "Focus" }) }),
4354
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "primary", active: true, children: "Active" }) }),
4355
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "primary", selected: true, children: "Selected" }) }),
4356
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "primary", disabled: true, children: "Disabled" }) }),
4357
- /* @__PURE__ */ jsx8("span", { children: "secondary" }),
4358
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "secondary", children: "Normal" }) }),
4359
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "secondary", hover: true, children: "Hover" }) }),
4360
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "secondary", focus: true, children: "Focus" }) }),
4361
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "secondary", active: true, children: "Active" }) }),
4362
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "secondary", selected: true, children: "Selected" }) }),
4363
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "secondary", disabled: true, children: "Disabled" }) }),
4364
- /* @__PURE__ */ jsx8("span", { children: "tertiary" }),
4365
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "tertiary", children: "Normal" }) }),
4366
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "tertiary", hover: true, children: "Hover" }) }),
4367
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "tertiary", focus: true, children: "Focus" }) }),
4368
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "tertiary", active: true, children: "Active" }) }),
4369
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "tertiary", selected: true, children: "Selected" }) }),
4370
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "tertiary", disabled: true, children: "Disabled" }) }),
4371
- /* @__PURE__ */ jsx8("span", { children: "info" }),
4372
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "info", children: "Normal" }) }),
4373
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "info", hover: true, children: "Hover" }) }),
4374
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "info", focus: true, children: "Focus" }) }),
4375
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "info", active: true, children: "Active" }) }),
4376
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "info", selected: true, children: "Selected" }) }),
4377
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "info", disabled: true, children: "Disabled" }) }),
4378
- /* @__PURE__ */ jsx8("span", { children: "success" }),
4379
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "success", children: "Normal" }) }),
4380
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "success", hover: true, children: "Hover" }) }),
4381
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "success", focus: true, children: "Focus" }) }),
4382
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "success", active: true, children: "Active" }) }),
4383
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "success", selected: true, children: "Selected" }) }),
4384
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "success", disabled: true, children: "Disabled" }) }),
4385
- /* @__PURE__ */ jsx8("span", { children: "warning" }),
4386
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "warning", children: "Normal" }) }),
4387
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "warning", hover: true, children: "Hover" }) }),
4388
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "warning", focus: true, children: "Focus" }) }),
4389
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "warning", active: true, children: "Active" }) }),
4390
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "warning", selected: true, children: "Selected" }) }),
4391
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "warning", disabled: true, children: "Disabled" }) }),
4392
- /* @__PURE__ */ jsx8("span", { children: "error" }),
4393
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "error", children: "Normal" }) }),
4394
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "error", hover: true, children: "Hover" }) }),
4395
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "error", focus: true, children: "Focus" }) }),
4396
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "error", active: true, children: "Active" }) }),
4397
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "error", selected: true, children: "Selected" }) }),
4398
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "error", disabled: true, children: "Disabled" }) }),
4399
- /* @__PURE__ */ jsx8("span", { children: "dark" }),
4400
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "dark", children: "Normal" }) }),
4401
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "dark", hover: true, children: "Hover" }) }),
4402
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "dark", focus: true, children: "Focus" }) }),
4403
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "dark", active: true, children: "Active" }) }),
4404
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "dark", selected: true, children: "Selected" }) }),
4405
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "dark", disabled: true, children: "Disabled" }) }),
4406
- /* @__PURE__ */ jsx8("span", { children: "light" }),
4407
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "light", children: "Normal" }) }),
4408
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "light", hover: true, children: "Hover" }) }),
4409
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "light", focus: true, children: "Focus" }) }),
4410
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "light", active: true, children: "Active" }) }),
4411
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "light", selected: true, children: "Selected" }) }),
4412
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "light", disabled: true, children: "Disabled" }) }),
4413
- /* @__PURE__ */ jsx8("span", { children: "inverse" }),
4414
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "inverse", children: "Normal" }) }),
4415
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "inverse", hover: true, children: "Hover" }) }),
4416
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "inverse", focus: true, children: "Focus" }) }),
4417
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "inverse", active: true, children: "Active" }) }),
4418
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "inverse", selected: true, children: "Selected" }) }),
4419
- /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(Button, { fillMode: "outline", themeColor: "inverse", disabled: true, children: "Disabled" }) })
4344
+ [...Button.options.themeColor].map((themeColor) => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4345
+ /* @__PURE__ */ jsx8("span", { children: themeColor }),
4346
+ ["normal", ...Button.states].map((state) => /* @__PURE__ */ jsx8(Fragment5, { children: /* @__PURE__ */ jsx8("span", { children: /* @__PURE__ */ jsx8(TextButton, { fillMode: "outline", themeColor, ...{ [state]: true }, children: state }) }) }))
4347
+ ] }))
4420
4348
  ] })
4421
4349
  ] });
4422
4350
  export {
@@ -4316,12 +4316,15 @@ Button.defaultProps = defaultProps4;
4316
4316
 
4317
4317
  // src/button/templates/icon-button.tsx
4318
4318
  import { jsx as jsx5 } from "react/jsx-runtime";
4319
+ var IconButton = (props) => /* @__PURE__ */ jsx5(Button, { icon: "folder", ...props, children: void 0 });
4319
4320
 
4320
4321
  // src/button/templates/icon-text-button.tsx
4321
4322
  import { jsx as jsx6 } from "react/jsx-runtime";
4323
+ var IconTextButton = (props) => /* @__PURE__ */ jsx6(Button, { icon: "folder", children: "Button", ...props });
4322
4324
 
4323
4325
  // src/button/templates/text-button.tsx
4324
4326
  import { jsx as jsx7 } from "react/jsx-runtime";
4327
+ var TextButton = (props) => /* @__PURE__ */ jsx7(Button, { children: "Button", ...props });
4325
4328
 
4326
4329
  // src/button/tests/button-rtl.tsx
4327
4330
  import { Fragment as Fragment5, jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -4341,47 +4344,47 @@ var button_rtl_default = () => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4341
4344
  /* @__PURE__ */ jsx8("span", { children: "Selected" }),
4342
4345
  /* @__PURE__ */ jsx8("span", { children: "Disabled" }),
4343
4346
  /* @__PURE__ */ jsx8("span", { children: "base" }),
4344
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { children: "Normal" }) }),
4345
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { hover: true, children: "Hover" }) }),
4346
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { focus: true, children: "Focus" }) }),
4347
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { active: true, children: "Active" }) }),
4348
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { selected: true, children: "Selected" }) }),
4349
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { disabled: true, children: "Disabled" }) }),
4347
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { children: "Normal" }) }),
4348
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { hover: true, children: "Hover" }) }),
4349
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { focus: true, children: "Focus" }) }),
4350
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { active: true, children: "Active" }) }),
4351
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { selected: true, children: "Selected" }) }),
4352
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { disabled: true, children: "Disabled" }) }),
4350
4353
  /* @__PURE__ */ jsx8("span", { children: "^ text + icon" }),
4351
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", children: "Normal" }) }),
4352
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", hover: true, children: "Hover" }) }),
4353
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", focus: true, children: "Focus" }) }),
4354
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", active: true, children: "Active" }) }),
4355
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", selected: true, children: "Selected" }) }),
4356
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", disabled: true, children: "Disabled" }) }),
4354
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { children: "Normal" }) }),
4355
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { hover: true, children: "Hover" }) }),
4356
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { focus: true, children: "Focus" }) }),
4357
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { active: true, children: "Active" }) }),
4358
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { selected: true, children: "Selected" }) }),
4359
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { disabled: true, children: "Disabled" }) }),
4357
4360
  /* @__PURE__ */ jsx8("span", { children: "^ icon" }),
4358
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder" }) }),
4359
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", hover: true }) }),
4360
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", focus: true }) }),
4361
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", active: true }) }),
4362
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", selected: true }) }),
4363
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { icon: "folder", disabled: true }) }),
4361
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, {}) }),
4362
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { hover: true }) }),
4363
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { focus: true }) }),
4364
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { active: true }) }),
4365
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { selected: true }) }),
4366
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { disabled: true }) }),
4364
4367
  /* @__PURE__ */ jsx8("span", { children: "primary" }),
4365
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", children: "Normal" }) }),
4366
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", hover: true, children: "Hover" }) }),
4367
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", focus: true, children: "Focus" }) }),
4368
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", active: true, children: "Active" }) }),
4369
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", selected: true, children: "Selected" }) }),
4370
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", disabled: true, children: "Disabled" }) }),
4368
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { themeColor: "primary", children: "Normal" }) }),
4369
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { themeColor: "primary", hover: true, children: "Hover" }) }),
4370
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { themeColor: "primary", focus: true, children: "Focus" }) }),
4371
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { themeColor: "primary", active: true, children: "Active" }) }),
4372
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { themeColor: "primary", selected: true, children: "Selected" }) }),
4373
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(TextButton, { themeColor: "primary", disabled: true, children: "Disabled" }) }),
4371
4374
  /* @__PURE__ */ jsx8("span", { children: "^ text + icon" }),
4372
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", children: "Normal" }) }),
4373
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", hover: true, children: "Hover" }) }),
4374
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", focus: true, children: "Focus" }) }),
4375
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", active: true, children: "Active" }) }),
4376
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", selected: true, children: "Selected" }) }),
4377
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", disabled: true, children: "Disabled" }) }),
4375
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { themeColor: "primary", children: "Normal" }) }),
4376
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { themeColor: "primary", hover: true, children: "Hover" }) }),
4377
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { themeColor: "primary", focus: true, children: "Focus" }) }),
4378
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { themeColor: "primary", active: true, children: "Active" }) }),
4379
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { themeColor: "primary", selected: true, children: "Selected" }) }),
4380
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconTextButton, { themeColor: "primary", disabled: true, children: "Disabled" }) }),
4378
4381
  /* @__PURE__ */ jsx8("span", { children: "^ icon" }),
4379
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder" }) }),
4380
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", hover: true }) }),
4381
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", focus: true }) }),
4382
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", active: true }) }),
4383
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", selected: true }) }),
4384
- /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(Button, { themeColor: "primary", icon: "folder", disabled: true }) })
4382
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { themeColor: "primary" }) }),
4383
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { themeColor: "primary", hover: true }) }),
4384
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { themeColor: "primary", focus: true }) }),
4385
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { themeColor: "primary", active: true }) }),
4386
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { themeColor: "primary", selected: true }) }),
4387
+ /* @__PURE__ */ jsx8("span", { dir: "rtl", children: /* @__PURE__ */ jsx8(IconButton, { themeColor: "primary", disabled: true }) })
4385
4388
  ] })
4386
4389
  ] });
4387
4390
  export {
@@ -4345,86 +4345,14 @@ var button_size_default = () => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4345
4345
  /* @__PURE__ */ jsx8("span", { children: "small" }),
4346
4346
  /* @__PURE__ */ jsx8("span", { children: "medium" }),
4347
4347
  /* @__PURE__ */ jsx8("span", { children: "large" }),
4348
- /* @__PURE__ */ jsx8("span", { children: "null" }),
4349
- /* @__PURE__ */ jsxs2("section", { children: [
4350
- /* @__PURE__ */ jsx8(TextButton, { size: "small", rounded: null }),
4351
- /* @__PURE__ */ jsx8(IconTextButton, { size: "small", rounded: null }),
4352
- /* @__PURE__ */ jsx8(IconButton, { size: "small", rounded: null })
4353
- ] }),
4354
- /* @__PURE__ */ jsxs2("section", { children: [
4355
- /* @__PURE__ */ jsx8(TextButton, { size: "medium", rounded: null }),
4356
- /* @__PURE__ */ jsx8(IconTextButton, { size: "medium", rounded: null }),
4357
- /* @__PURE__ */ jsx8(IconButton, { size: "medium", rounded: null })
4358
- ] }),
4359
- /* @__PURE__ */ jsxs2("section", { children: [
4360
- /* @__PURE__ */ jsx8(TextButton, { size: "large", rounded: null }),
4361
- /* @__PURE__ */ jsx8(IconTextButton, { size: "large", rounded: null }),
4362
- /* @__PURE__ */ jsx8(IconButton, { size: "large", rounded: null })
4363
- ] }),
4364
- /* @__PURE__ */ jsx8("span", { children: "small" }),
4365
- /* @__PURE__ */ jsxs2("section", { children: [
4366
- /* @__PURE__ */ jsx8(TextButton, { size: "small", rounded: "small" }),
4367
- /* @__PURE__ */ jsx8(IconTextButton, { size: "small", rounded: "small" }),
4368
- /* @__PURE__ */ jsx8(IconButton, { size: "small", rounded: "small" })
4369
- ] }),
4370
- /* @__PURE__ */ jsxs2("section", { children: [
4371
- /* @__PURE__ */ jsx8(TextButton, { size: "medium", rounded: "small" }),
4372
- /* @__PURE__ */ jsx8(IconTextButton, { size: "medium", rounded: "small" }),
4373
- /* @__PURE__ */ jsx8(IconButton, { size: "medium", rounded: "small" })
4374
- ] }),
4375
- /* @__PURE__ */ jsxs2("section", { children: [
4376
- /* @__PURE__ */ jsx8(TextButton, { size: "large", rounded: "small" }),
4377
- /* @__PURE__ */ jsx8(IconTextButton, { size: "large", rounded: "small" }),
4378
- /* @__PURE__ */ jsx8(IconButton, { size: "large", rounded: "small" })
4379
- ] }),
4380
- /* @__PURE__ */ jsx8("span", { children: "medium" }),
4381
- /* @__PURE__ */ jsxs2("section", { children: [
4382
- /* @__PURE__ */ jsx8(TextButton, { size: "small", rounded: "medium" }),
4383
- /* @__PURE__ */ jsx8(IconTextButton, { size: "small", rounded: "medium" }),
4384
- /* @__PURE__ */ jsx8(IconButton, { size: "small", rounded: "medium" })
4385
- ] }),
4386
- /* @__PURE__ */ jsxs2("section", { children: [
4387
- /* @__PURE__ */ jsx8(TextButton, { size: "medium", rounded: "medium" }),
4388
- /* @__PURE__ */ jsx8(IconTextButton, { size: "medium", rounded: "medium" }),
4389
- /* @__PURE__ */ jsx8(IconButton, { size: "medium", rounded: "medium" })
4390
- ] }),
4391
- /* @__PURE__ */ jsxs2("section", { children: [
4392
- /* @__PURE__ */ jsx8(TextButton, { size: "large", rounded: "medium" }),
4393
- /* @__PURE__ */ jsx8(IconTextButton, { size: "large", rounded: "medium" }),
4394
- /* @__PURE__ */ jsx8(IconButton, { size: "large", rounded: "medium" })
4395
- ] }),
4396
- /* @__PURE__ */ jsx8("span", { children: "large" }),
4397
- /* @__PURE__ */ jsxs2("section", { children: [
4398
- /* @__PURE__ */ jsx8(TextButton, { size: "small", rounded: "large" }),
4399
- /* @__PURE__ */ jsx8(IconTextButton, { size: "small", rounded: "large" }),
4400
- /* @__PURE__ */ jsx8(IconButton, { size: "small", rounded: "large" })
4401
- ] }),
4402
- /* @__PURE__ */ jsxs2("section", { children: [
4403
- /* @__PURE__ */ jsx8(TextButton, { size: "medium", rounded: "large" }),
4404
- /* @__PURE__ */ jsx8(IconTextButton, { size: "medium", rounded: "large" }),
4405
- /* @__PURE__ */ jsx8(IconButton, { size: "medium", rounded: "large" })
4406
- ] }),
4407
- /* @__PURE__ */ jsxs2("section", { children: [
4408
- /* @__PURE__ */ jsx8(TextButton, { size: "large", rounded: "large" }),
4409
- /* @__PURE__ */ jsx8(IconTextButton, { size: "large", rounded: "large" }),
4410
- /* @__PURE__ */ jsx8(IconButton, { size: "large", rounded: "large" })
4411
- ] }),
4412
- /* @__PURE__ */ jsx8("span", { children: "full" }),
4413
- /* @__PURE__ */ jsxs2("section", { children: [
4414
- /* @__PURE__ */ jsx8(TextButton, { size: "small", rounded: "full" }),
4415
- /* @__PURE__ */ jsx8(IconTextButton, { size: "small", rounded: "full" }),
4416
- /* @__PURE__ */ jsx8(IconButton, { size: "small", rounded: "full" })
4417
- ] }),
4418
- /* @__PURE__ */ jsxs2("section", { children: [
4419
- /* @__PURE__ */ jsx8(TextButton, { size: "medium", rounded: "full" }),
4420
- /* @__PURE__ */ jsx8(IconTextButton, { size: "medium", rounded: "full" }),
4421
- /* @__PURE__ */ jsx8(IconButton, { size: "medium", rounded: "full" })
4422
- ] }),
4423
- /* @__PURE__ */ jsxs2("section", { children: [
4424
- /* @__PURE__ */ jsx8(TextButton, { size: "large", rounded: "full" }),
4425
- /* @__PURE__ */ jsx8(IconTextButton, { size: "large", rounded: "full" }),
4426
- /* @__PURE__ */ jsx8(IconButton, { size: "large", rounded: "full" })
4427
- ] })
4348
+ [null, ...Button.options.rounded].map((roundness) => /* @__PURE__ */ jsxs2(Fragment5, { children: [
4349
+ /* @__PURE__ */ jsx8("span", { children: roundness || "null" }),
4350
+ Button.options.size.map((size) => /* @__PURE__ */ jsxs2("section", { children: [
4351
+ /* @__PURE__ */ jsx8(TextButton, { size, rounded: roundness }),
4352
+ /* @__PURE__ */ jsx8(IconTextButton, { size, rounded: roundness }),
4353
+ /* @__PURE__ */ jsx8(IconButton, { size, rounded: roundness })
4354
+ ] }))
4355
+ ] }))
4428
4356
  ] })
4429
4357
  ] });
4430
4358
  export {