@getflip/swirl-components-react 0.1.0 → 0.2.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 (160) hide show
  1. package/dist/_commonjsHelpers-44457d8d.ba94af77.js +37 -0
  2. package/dist/a11y-dialog.esm-d7a94c8c.bd6ae411.js +99 -0
  3. package/dist/bodyScrollLock.esm-ce6356d8.2c600fb9.js +93 -0
  4. package/dist/{flip-action-list-item.entry.1b728e6a.js → flip-action-list-item.entry.66f33805.js} +3 -2
  5. package/dist/{flip-action-list-section.entry.da3e6186.js → flip-action-list-section.entry.2927ba41.js} +1 -1
  6. package/dist/{flip-action-list.entry.400a309a.js → flip-action-list.entry.66352b19.js} +2 -2
  7. package/dist/flip-avatar-group.entry.be7886a3.js +20 -0
  8. package/dist/{flip-avatar.entry.2eb3242e.js → flip-avatar.entry.f95286a1.js} +3 -2
  9. package/dist/flip-badge.entry.3f2d34e9.js +20 -0
  10. package/dist/{flip-banner.entry.b3012465.js → flip-banner.entry.32f2ef57.js} +3 -2
  11. package/dist/flip-button-group.entry.ed86679b.js +15 -0
  12. package/dist/flip-button.entry.555b8fd4.js +33 -0
  13. package/dist/{flip-checkbox.entry.2f740fb8.js → flip-checkbox.entry.9768035f.js} +10 -9
  14. package/dist/{flip-chip.entry.e9729ac7.js → flip-chip.entry.5ebbf411.js} +3 -2
  15. package/dist/flip-date-input.entry.7bf9efc5.js +5473 -0
  16. package/dist/flip-date-picker_3.entry.54e0b84d.js +1270 -0
  17. package/dist/{flip-description-list-item.entry.c789511e.js → flip-description-list-item.entry.f4e6faf7.js} +1 -1
  18. package/dist/{flip-description-list.entry.3b158436.js → flip-description-list.entry.2b1d4579.js} +1 -1
  19. package/dist/flip-dialog.entry.2bbc3bff.js +45 -0
  20. package/dist/flip-empty-state.entry.376592fa.js +15 -0
  21. package/dist/flip-file-uploader.entry.c0ddf5a7.js +32 -0
  22. package/dist/flip-file-viewer-audio_6.entry.d60d1099.js +16174 -0
  23. package/dist/flip-file-viewer.entry.0c2922e5.js +95 -0
  24. package/dist/flip-form-control.entry.71c275f5.js +58 -0
  25. package/dist/flip-form-group.entry.ad2385d5.js +18 -0
  26. package/dist/flip-heading.entry.1245bdda.js +18 -0
  27. package/dist/{flip-icon-add-photo.entry.a1003bdf.js → flip-icon-add-photo.entry.c3178433.js} +1 -1
  28. package/dist/{flip-icon-add.entry.7103fbe7.js → flip-icon-add.entry.708a8c7c.js} +1 -1
  29. package/dist/{flip-icon-admin-panel-settings.entry.36a12e47.js → flip-icon-admin-panel-settings.entry.88af777a.js} +1 -1
  30. package/dist/{flip-icon-arrow-back.entry.e35ba078.js → flip-icon-arrow-back.entry.abd86e13.js} +1 -1
  31. package/dist/{flip-icon-arrow-forward.entry.5138c404.js → flip-icon-arrow-forward.entry.ef6e8b77.js} +1 -1
  32. package/dist/flip-icon-arrow-left.entry.70be0607.js +15 -0
  33. package/dist/{flip-icon-arrow-right-small.entry.d1eeb150.js → flip-icon-arrow-right-small.entry.d342c71f.js} +1 -1
  34. package/dist/flip-icon-arrow-right.entry.bd9eae8e.js +15 -0
  35. package/dist/{flip-icon-attachment.entry.594b602b.js → flip-icon-attachment.entry.898243d2.js} +1 -1
  36. package/dist/flip-icon-cancel.entry.fac41df2.js +15 -0
  37. package/dist/{flip-icon-chat-bubble.entry.f56fcdc4.js → flip-icon-chat-bubble.entry.016c1f0d.js} +1 -1
  38. package/dist/{flip-icon-check-circle.entry.e4f8169d.js → flip-icon-check-circle.entry.330f4038.js} +1 -1
  39. package/dist/{flip-icon-check-small.entry.308d57d1.js → flip-icon-check-small.entry.590b928f.js} +1 -1
  40. package/dist/{flip-icon-check-strong.entry.b61365d2.js → flip-icon-check-strong.entry.8fb90e69.js} +1 -1
  41. package/dist/{flip-icon-check.entry.f2c6b547.js → flip-icon-check.entry.bf4892a9.js} +1 -1
  42. package/dist/{flip-icon-chevron-left.entry.dbe9b291.js → flip-icon-chevron-left.entry.8a5cd7ef.js} +1 -1
  43. package/dist/{flip-icon-chevron-right.entry.9565c0f1.js → flip-icon-chevron-right.entry.ba87bdc8.js} +1 -1
  44. package/dist/{flip-icon-close-small.entry.8bfcf1b1.js → flip-icon-close-small.entry.d3ca39fb.js} +1 -1
  45. package/dist/{flip-icon-close.entry.41992748.js → flip-icon-close.entry.ebcf0fe6.js} +1 -1
  46. package/dist/flip-icon-cloud-upload.entry.bf4e840b.js +15 -0
  47. package/dist/{flip-icon-comment.entry.2aac2c10.js → flip-icon-comment.entry.dd07b7a4.js} +1 -1
  48. package/dist/{flip-icon-copy.entry.8e59bf1d.js → flip-icon-copy.entry.796dcb43.js} +1 -1
  49. package/dist/{flip-icon-date-range.entry.c1dd2730.js → flip-icon-date-range.entry.53c670dc.js} +1 -1
  50. package/dist/{flip-icon-delete.entry.bc0b61ff.js → flip-icon-delete.entry.df480685.js} +1 -1
  51. package/dist/{flip-icon-description.entry.e01b2d40.js → flip-icon-description.entry.da40cecc.js} +1 -1
  52. package/dist/{flip-icon-download.entry.a512f353.js → flip-icon-download.entry.3926477e.js} +1 -1
  53. package/dist/{flip-icon-edit.entry.7e3cd472.js → flip-icon-edit.entry.0f50ba4c.js} +1 -1
  54. package/dist/{flip-icon-emoji-mood.entry.df7b536f.js → flip-icon-emoji-mood.entry.4fa27f13.js} +1 -1
  55. package/dist/{flip-icon-emoji-satisfied.entry.e3e5352b.js → flip-icon-emoji-satisfied.entry.9246c39b.js} +1 -1
  56. package/dist/{flip-icon-error.entry.96c3c29b.js → flip-icon-error_3.entry.4e8dcd9e.js} +30 -6
  57. package/dist/flip-icon-expand-less_3.entry.f191352f.js +35 -0
  58. package/dist/{flip-icon-expand-more.entry.4c1fa160.js → flip-icon-expand-more.entry.5dbcc3e3.js} +1 -1
  59. package/dist/{flip-icon-file.entry.3a18cce8.js → flip-icon-file.entry.64c3e030.js} +1 -1
  60. package/dist/{flip-icon-folder-shared.entry.38b22cd2.js → flip-icon-folder-shared.entry.87cd72cd.js} +1 -1
  61. package/dist/flip-icon-fullscreen-exit.entry.b274fc5c.js +15 -0
  62. package/dist/flip-icon-fullscreen.entry.a0a70cc8.js +15 -0
  63. package/dist/{flip-icon-group-assign.entry.a640254f.js → flip-icon-group-assign.entry.17e70921.js} +1 -1
  64. package/dist/{flip-icon-groups-custom.entry.d77901cd.js → flip-icon-groups-custom.entry.ed78b313.js} +1 -1
  65. package/dist/{flip-icon-groups.entry.80196d79.js → flip-icon-groups.entry.ff8a5e63.js} +1 -1
  66. package/dist/{flip-icon-image.entry.601bf2ae.js → flip-icon-image.entry.b010afb8.js} +1 -1
  67. package/dist/{flip-icon-info.entry.b480a255.js → flip-icon-info.entry.61351d50.js} +1 -1
  68. package/dist/{flip-icon-inventory.entry.bb8a5615.js → flip-icon-inventory.entry.f0ffd90a.js} +1 -1
  69. package/dist/{flip-icon-like.entry.af8b36e2.js → flip-icon-like.entry.6b0034de.js} +1 -1
  70. package/dist/{flip-icon-link.entry.be72688c.js → flip-icon-link.entry.9229312e.js} +1 -1
  71. package/dist/{flip-icon-lock.entry.440459fe.js → flip-icon-lock.entry.03e5fa85.js} +1 -1
  72. package/dist/{flip-icon-logout.entry.dde0bfc8.js → flip-icon-logout.entry.8b073a7d.js} +1 -1
  73. package/dist/{flip-icon-mail.entry.b57a0093.js → flip-icon-mail.entry.91482af2.js} +1 -1
  74. package/dist/{flip-icon-manage-accounts.entry.11cc3149.js → flip-icon-manage-accounts.entry.5de8be6f.js} +1 -1
  75. package/dist/{flip-icon-mention.entry.32771810.js → flip-icon-mention.entry.ef803509.js} +1 -1
  76. package/dist/{flip-icon-message.entry.636088c3.js → flip-icon-message.entry.20ae73fb.js} +1 -1
  77. package/dist/{flip-icon-more-horizontal.entry.38f14508.js → flip-icon-more-horizontal.entry.9a2357f0.js} +1 -1
  78. package/dist/{flip-icon-more-vertikal.entry.8a4c613a.js → flip-icon-more-vertikal.entry.0447fdab.js} +1 -1
  79. package/dist/{flip-icon-notifications-active.entry.5658308d.js → flip-icon-notifications-active.entry.3aa487b9.js} +1 -1
  80. package/dist/{flip-icon-notifications-off.entry.8d3b11ff.js → flip-icon-notifications-off.entry.285c2bb6.js} +1 -1
  81. package/dist/{flip-icon-notifications.entry.91f77dd2.js → flip-icon-notifications.entry.e60fed91.js} +1 -1
  82. package/dist/flip-icon-open-in-new.entry.9de4d7c0.js +15 -0
  83. package/dist/{flip-icon-people-alt.entry.b0b2e20c.js → flip-icon-people-alt.entry.dd840fb1.js} +1 -1
  84. package/dist/{flip-icon-person-off.entry.e79df0e6.js → flip-icon-person-off.entry.df6c63b6.js} +1 -1
  85. package/dist/{flip-icon-person.entry.1bc59e68.js → flip-icon-person.entry.37939889.js} +1 -1
  86. package/dist/{flip-icon-phone.entry.03e81177.js → flip-icon-phone.entry.08245320.js} +1 -1
  87. package/dist/{flip-icon-poll.entry.4e059f77.js → flip-icon-poll.entry.e0ff1d9f.js} +1 -1
  88. package/dist/flip-icon-print.entry.f5fbd804.js +15 -0
  89. package/dist/{flip-icon-recieved.entry.e3410f9e.js → flip-icon-recieved.entry.5b4e2a50.js} +1 -1
  90. package/dist/flip-icon-remove.entry.98d516c6.js +15 -0
  91. package/dist/{flip-icon-search-strong.entry.ec0849a6.js → flip-icon-search-strong.entry.afcf6af9.js} +1 -1
  92. package/dist/{flip-icon-cancel_2.entry.eb8d1a8c.js → flip-icon-search.entry.0f103075.js} +3 -13
  93. package/dist/{flip-icon-send.entry.3f80869c.js → flip-icon-send.entry.fd3001a2.js} +1 -1
  94. package/dist/{flip-icon-settings.entry.c86a7bca.js → flip-icon-settings.entry.2b1e4bb0.js} +1 -1
  95. package/dist/{flip-icon-time-filled.entry.ad86a08f.js → flip-icon-time-filled.entry.7fa814d7.js} +1 -1
  96. package/dist/{flip-icon-time-outlined.entry.75a29f76.js → flip-icon-time-outlined.entry.e3f601ce.js} +1 -1
  97. package/dist/{flip-icon-user-assign.entry.1f331180.js → flip-icon-user-assign.entry.4951e82f.js} +1 -1
  98. package/dist/{flip-icon-video-camera.entry.40ea3d7d.js → flip-icon-video-camera.entry.74f8a7b6.js} +1 -1
  99. package/dist/{flip-icon-warning.entry.1c1540b8.js → flip-icon-warning.entry.76ebfb1e.js} +1 -1
  100. package/dist/{flip-link.entry.fe817ab1.js → flip-link.entry.f67e488c.js} +1 -1
  101. package/dist/flip-list.entry.5cc5b288.js +18 -0
  102. package/dist/flip-modal.entry.4921d0b4.js +61 -0
  103. package/dist/flip-option-list-item.entry.fd1d85dd.js +30 -0
  104. package/dist/flip-option-list-section.entry.5509895e.js +15 -0
  105. package/dist/flip-option-list.entry.efe97de9.js +95 -0
  106. package/dist/flip-pagination.entry.b109c35d.js +27 -0
  107. package/dist/flip-progress-indicator.entry.b7cf2985.js +18 -0
  108. package/dist/flip-radio-group.entry.dfc6ef8e.js +35 -0
  109. package/dist/{flip-radio.entry.817d976d.js → flip-radio.entry.f153fc92.js} +6 -5
  110. package/dist/flip-resource-list-file-item.entry.26beeeee.js +20 -0
  111. package/dist/flip-resource-list-item.entry.7cac7a7c.js +41 -0
  112. package/dist/flip-resource-list.entry.75d10224.js +49 -0
  113. package/dist/{flip-search.entry.6717d77a.js → flip-search.entry.eccdd9b5.js} +3 -2
  114. package/dist/{flip-stack.entry.50d88d6f.js → flip-stack.entry.2448bd6b.js} +3 -2
  115. package/dist/{flip-switch.entry.ef96875e.js → flip-switch.entry.71d04383.js} +3 -2
  116. package/dist/flip-tab.entry.184626dd.js +18 -0
  117. package/dist/flip-tabs.entry.9434fd96.js +92 -0
  118. package/dist/{flip-tag.entry.31a7d0f7.js → flip-tag.entry.5df8a6b4.js} +3 -2
  119. package/dist/flip-text-input.entry.55decf50.js +55 -0
  120. package/dist/flip-text.entry.2b6e3f56.js +18 -0
  121. package/dist/{flip-theme-provider.entry.9c054d33.js → flip-theme-provider.entry.1570cb6b.js} +1 -1
  122. package/dist/{flip-thumbnail.entry.449e93ef.js → flip-thumbnail.entry.54ea67cf.js} +3 -2
  123. package/dist/{flip-toast-provider.entry.59025e1a.js → flip-toast-provider.entry.0ee21f8b.js} +1 -1
  124. package/dist/{flip-toast.entry.78522d59.js → flip-toast.entry.29ea2ead.js} +3 -2
  125. package/dist/flip-tooltip.entry.e6a904e4.js +94 -0
  126. package/dist/flip-video-thumbnail.entry.f3cf1c28.js +83 -0
  127. package/dist/{flip-visually-hidden.entry.ae0ff292.js → flip-visually-hidden.entry.47d25a46.js} +1 -1
  128. package/dist/floating-ui.dom.esm-1a4e8b8a.87557233.js +752 -0
  129. package/dist/index-6d2e18c6.289636d4.js +37 -0
  130. package/dist/index.b6e7bb76.js +1359 -0
  131. package/dist/index.d.ts +1 -0
  132. package/dist/stencil-generated/index.d.ts +136 -0
  133. package/dist/stencil-generated/react-component-lib/createComponent.d.ts +10 -0
  134. package/dist/stencil-generated/react-component-lib/createOverlayComponent.d.ts +21 -0
  135. package/dist/stencil-generated/react-component-lib/index.d.ts +2 -0
  136. package/dist/stencil-generated/react-component-lib/interfaces.d.ts +29 -0
  137. package/dist/stencil-generated/react-component-lib/utils/attachProps.d.ts +12 -0
  138. package/dist/stencil-generated/react-component-lib/utils/case.d.ts +2 -0
  139. package/dist/stencil-generated/react-component-lib/utils/index.d.ts +10 -0
  140. package/dist/swirl-components-react.js +133 -96
  141. package/dist/swirl-components-react.umd.cjs +137 -17
  142. package/dist/utils-b46bcd4f.79126bb2.js +30 -0
  143. package/dist/vite-env.d.ts +1 -0
  144. package/package.json +5 -3
  145. package/dist/flip-avatar-group.entry.71bf1f2a.js +0 -19
  146. package/dist/flip-badge.entry.ebda6058.js +0 -19
  147. package/dist/flip-button_2.entry.a323451d.js +0 -42
  148. package/dist/flip-dialog.entry.f2be9a9c.js +0 -139
  149. package/dist/flip-icon-expand-less.entry.3e970433.js +0 -15
  150. package/dist/flip-icon-today.entry.ab272990.js +0 -15
  151. package/dist/flip-icon-visibility-off.entry.ed4db3b5.js +0 -15
  152. package/dist/flip-icon-visibility.entry.1a7dfd44.js +0 -15
  153. package/dist/flip-inline-error.entry.38c26d13.js +0 -17
  154. package/dist/flip-popover.entry.18c5ead6.js +0 -878
  155. package/dist/flip-radio-group.entry.187f29ee.js +0 -35
  156. package/dist/flip-spinner.entry.f8f179be.js +0 -17
  157. package/dist/flip-tooltip.entry.8b5f35c7.js +0 -102
  158. package/dist/index-3c78bcaf.2675909b.js +0 -48
  159. package/dist/main.7e7363a7.js +0 -1322
  160. package/dist/utils-03e3261c.f5223801.js +0 -16
@@ -0,0 +1,30 @@
1
+ function f(c, l) {
2
+ const o = l.scrollTop, r = o + l.clientHeight, e = l.getBoundingClientRect(), t = c.getBoundingClientRect(), n = {
3
+ top: t.top - e.top,
4
+ right: t.right - e.right,
5
+ bottom: t.bottom - e.bottom,
6
+ left: t.left - e.left
7
+ }.top + o, s = n + c.offsetHeight, a = n < o ? o : n;
8
+ return (s > r ? r : s) - a;
9
+ }
10
+ function g() {
11
+ return !window.matchMedia("(min-width: 768px)").matches;
12
+ }
13
+ function p(c, l) {
14
+ function o(e, t) {
15
+ if (!Boolean(t))
16
+ return [];
17
+ const i = Array.from(t.querySelectorAll(e)), n = Boolean(window.HTMLSlotElement) && t instanceof HTMLSlotElement ? t.assignedElements() : [], s = [...Array.from(t.children), ...n], a = t.shadowRoot, h = o(e, a);
18
+ return [
19
+ ...i,
20
+ ...s.map((m) => o(e, m)).flat(),
21
+ ...h
22
+ ];
23
+ }
24
+ return o(l, c).filter((e, t, i) => !i.some((n, s) => n.isSameNode(e) && s > t));
25
+ }
26
+ export {
27
+ f as g,
28
+ g as i,
29
+ p as q
30
+ };
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-react",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
8
  "main": "./dist/swirl-components-react.umd.cjs",
9
9
  "module": "./dist/swirl-components-react.js",
10
+ "types": "./dist/index.d.ts",
10
11
  "exports": {
11
12
  ".": {
12
13
  "import": "./dist/swirl-components-react.js",
@@ -17,7 +18,7 @@
17
18
  "build": "tsc && vite build"
18
19
  },
19
20
  "dependencies": {
20
- "@getflip/swirl-components": "^0.1.0",
21
+ "@getflip/swirl-components": "^0.3.0",
21
22
  "react": "^18.2.0",
22
23
  "react-dom": "^18.2.0"
23
24
  },
@@ -26,6 +27,7 @@
26
27
  "@types/react-dom": "^18.0.6",
27
28
  "@vitejs/plugin-react": "^2.0.1",
28
29
  "typescript": "^4.6.4",
29
- "vite": "^3.0.6"
30
+ "vite": "^3.0.6",
31
+ "vite-plugin-dts": "^1.6.6"
30
32
  }
31
33
  }
@@ -1,19 +0,0 @@
1
- import { r as o, h as r, H as s } from "./main.7e7363a7.js";
2
- import { c as t } from "./index-3c78bcaf.2675909b.js";
3
- import "react";
4
- import "react-dom";
5
- const i = ":host{display:inline-flex}:host *{box-sizing:border-box}.avatar-group{position:relative;display:inline-grid;grid-template-rows:repeat(8, 1fr);grid-template-columns:repeat(8, 1fr)}.avatar-group ::slotted(*:first-of-type){z-index:1;display:inline-flex;border:0.25rem solid var(--s-background-default);border-radius:50%;grid-column-start:1;grid-column-end:7;grid-row-start:3;grid-row-end:9}.avatar-group ::slotted(*:nth-of-type(2)){z-index:0;display:inline-flex;border:0.25rem solid var(--s-background-default);border-radius:50%;grid-column-start:3;grid-column-end:9;grid-row-start:1;grid-row-end:7}.avatar-group__badge{position:absolute;z-index:2;right:0;bottom:0;display:inline-flex;width:1.5rem;height:1.5rem}", d = class {
6
- constructor(a) {
7
- o(this, a);
8
- }
9
- render() {
10
- const a = t("avatar-group", {
11
- "avatar-group--has-badge": Boolean(this.badge)
12
- }), e = t("avatar-group__badge");
13
- return r(s, null, r("div", { class: a, role: "group" }, r("slot", null), this.badge && r("span", { class: e, innerHTML: this.badge })));
14
- }
15
- };
16
- d.style = i;
17
- export {
18
- d as flip_avatar_group
19
- };
@@ -1,19 +0,0 @@
1
- import { r as t, h as e, H as i } from "./main.7e7363a7.js";
2
- import { c as d } from "./index-3c78bcaf.2675909b.js";
3
- import "react";
4
- import "react-dom";
5
- const r = ":host{display:inline-flex;min-width:0;max-width:100%;justify-content:center;align-items:center}:host *{box-sizing:border-box}.badge{display:inline-flex;max-width:100%;justify-content:center;align-items:center;border:0.25rem solid var(--s-background-default);border-radius:2rem;color:var(--s-text-on-status);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium)}.badge--size-s{min-width:1.5rem;height:1.5rem;font-size:0.75rem}.badge--size-s .badge__label{padding-right:0.1875rem;padding-left:0.1875rem}.badge--size-s .badge__icon>*::part(icon){width:0.75rem;height:0.75rem}.badge--size-m{min-width:2rem;height:2rem}.badge--size-m .badge__label{padding-right:0.375rem;padding-left:0.375rem}.badge--has-icon{padding-right:0;padding-left:0}.badge--intent-critical{background-color:var(--s-surface-critical-default)}.badge--intent-decorative-1{background-color:var(--s-decorative-1-default)}.badge--intent-decorative-2{background-color:var(--s-decorative-2-default)}.badge--intent-decorative-3{color:var(--s-text-default);background-color:var(--s-decorative-3-default)}.badge--intent-decorative-4{color:var(--s-text-default);background-color:var(--s-decorative-4-default)}.badge--intent-decorative-5{background-color:var(--s-decorative-5-default)}.badge--intent-decorative-6{background-color:var(--s-decorative-6-default)}.badge--intent-decorative-7{background-color:var(--s-decorative-7-default)}.badge--variant-dot{width:1.25rem;min-width:0;height:1.25rem}.badge--variant-dot .badge__label{padding-right:0;padding-left:0}.badge--variant-dot .badge__label,.badge--variant-dot .badge__icon{display:none}.badge__icon{display:inline-flex}.badge__icon>*::part(icon){width:1rem;height:1rem}.badge__label{display:inline-flex;overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}", n = class {
6
- constructor(a) {
7
- t(this, a), this.intent = "critical", this.size = "m", this.variant = "default";
8
- }
9
- render() {
10
- const a = d("badge", `badge--intent-${this.intent}`, `badge--size-${this.size}`, `badge--variant-${this.variant}`, {
11
- "badge--has-icon": this.icon
12
- });
13
- return e(i, { role: "status" }, e("span", { class: a }, this.icon && e("span", { class: "badge__icon", innerHTML: this.icon }), this.icon === void 0 && e("span", { class: "badge__label" }, this.label)));
14
- }
15
- };
16
- n.style = r;
17
- export {
18
- n as flip_badge
19
- };
@@ -1,42 +0,0 @@
1
- import { r as a, h as o, H as i } from "./main.7e7363a7.js";
2
- import { c as l } from "./index-3c78bcaf.2675909b.js";
3
- import "react";
4
- import "react-dom";
5
- const s = `.sc-flip-button-h{display:inline-block;max-width:100%}.sc-flip-button-h *.sc-flip-button{box-sizing:border-box}.button.sc-flip-button{display:inline-flex;width:100%;padding:var(--s-space-8) var(--s-space-16);justify-content:center;align-items:center;border:none;border-radius:var(--s-border-radius-base);color:var(--s-text-subdued);background-color:var(--flip-ghost-button-background-default);font:inherit;font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-lg);text-decoration:none;cursor:pointer;gap:var(--s-space-8)}.button.sc-flip-button:hover{background-color:var(--flip-ghost-button-background-hovered)}.button.sc-flip-button:active{background-color:var(--flip-ghost-button-background-pressed)}.button.sc-flip-button:disabled{color:var(--s-text-disabled);background-color:var(--flip-ghost-button-background-default);cursor:default}.button.sc-flip-button:disabled .button__left-icon.sc-flip-button{color:var(--s-icon-disabled)}.button.sc-flip-button:focus{outline-color:var(--s-focus-default)}.button--variant-ghost.button--intent-primary.sc-flip-button:not(:disabled){color:var(--s-text-highlight)}.button--variant-ghost.button--intent-primary.sc-flip-button:not(:disabled) .button__left-icon.sc-flip-button{color:var(--s-icon-highlight)}.button--variant-ghost.button--intent-critical.sc-flip-button:not(:disabled){color:var(--s-text-critical)}.button--variant-ghost.button--intent-critical.sc-flip-button:not(:disabled) .button__left-icon.sc-flip-button{color:var(--s-icon-critical)}.button--variant-ghost.button--size-l.sc-flip-button{padding:var(--s-space-12) var(--s-space-20)}.button--variant-ghost.button--size-l.button--icon-only.sc-flip-button{padding:var(--s-space-12)}.button--variant-flat.sc-flip-button{color:var(--s-text-default);background-color:var(--s-action-neutral-default)}.button--variant-flat.sc-flip-button:hover{background-color:var(--s-action-neutral-hovered)}.button--variant-flat.sc-flip-button:active{background-color:var(--s-action-neutral-pressed)}.button--variant-flat.sc-flip-button:disabled{background-color:var(--s-action-neutral-disabled)}.button--variant-flat.button--intent-primary.sc-flip-button:not(:disabled){color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-default)}.button--variant-flat.button--intent-primary.sc-flip-button:not(:disabled):hover{background-color:var(--s-action-primary-hovered)}.button--variant-flat.button--intent-primary.sc-flip-button:not(:disabled):active{background-color:var(--s-action-primary-pressed)}.button--variant-flat.button--intent-primary.sc-flip-button:not(:disabled) .button__left-icon.sc-flip-button{color:var(--s-icon-on-action-primary)}.button--variant-flat.sc-flip-button .button__left-icon.sc-flip-button{color:var(--s-icon-strong)}.button--variant-plain.sc-flip-button{padding:0;border-radius:0;color:var(--s-interactive-neutral-default);background-color:transparent}.button--variant-plain.sc-flip-button:hover:not(:disabled){color:var(--s-interactive-neutral-default);background-color:transparent;text-decoration:underline;text-underline-offset:var(--s-space-4)}.button--variant-plain.sc-flip-button:hover:not(:disabled) .button__left-icon.sc-flip-button{color:var(--s-interactive-neutral-default)}.button--variant-plain.sc-flip-button:active:not(:disabled){color:var(--s-interactive-neutral-hovered);background-color:transparent}.button--variant-plain.sc-flip-button:active:not(:disabled) .button__left-icon.sc-flip-button{color:var(--s-interactive-neutral-hovered)}.button--variant-plain.sc-flip-button:disabled{color:var(--s-interactive-neutral-disabled);background-color:transparent}.button--variant-plain.sc-flip-button:disabled .button__left-icon.sc-flip-button{color:var(--s-interactive-neutral-disabled)}.button--variant-plain.button--intent-primary.sc-flip-button{color:var(--s-interactive-primary-default)}.button--variant-plain.button--intent-primary.sc-flip-button:hover{color:var(--s-interactive-primary-default)}.button--variant-plain.button--intent-primary.sc-flip-button:hover .button__left-icon.sc-flip-button{color:var(--s-interactive-primary-default)}.button--variant-plain.button--intent-primary.sc-flip-button:active{color:var(--s-interactive-primary-hovered)}.button--variant-plain.button--intent-primary.sc-flip-button:active .button__left-icon.sc-flip-button{color:var(--s-interactive-primary-hovered)}.button--variant-plain.button--intent-primary.sc-flip-button:disabled{color:var(--s-interactive-primary-disabled)}.button--variant-plain.button--intent-primary.sc-flip-button:disabled .button__left-icon.sc-flip-button{color:var(--s-interactive-primary-disabled)}.button--variant-plain.button--intent-primary.sc-flip-button .button__left-icon.sc-flip-button{color:var(--s-interactive-primary-default)}.button--variant-plain.sc-flip-button .button__left-icon.sc-flip-button{color:var(--s-interactive-neutral-default)}.button--variant-on-image.sc-flip-button{color:var(--s-text-on-image);background:linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
6
- rgba(255, 255, 255, 0.3)}.button--variant-on-image.sc-flip-button:hover{background:linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
7
- rgba(255, 255, 255, 0.4)}.button--variant-on-image.sc-flip-button:active{background:linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
8
- rgba(255, 255, 255, 0.5)}.button--variant-on-image.sc-flip-button:disabled{color:var(--s-text-on-image);background:linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
9
- rgba(255, 255, 255, 0.3)}.button--variant-on-image.sc-flip-button:disabled .button__left-icon.sc-flip-button{color:var(--s-icon-on-image)}.button--variant-on-image.sc-flip-button .button__left-icon.sc-flip-button{color:var(--s-icon-on-image)}.button--variant-floating.sc-flip-button{color:var(--s-text-default);background-color:var(--s-surface-overlay-default);box-shadow:0.125rem 0.25rem 2.5rem rgba(0, 0, 0, 0.14)}.button--variant-floating.sc-flip-button:hover{color:var(--s-text-on-action-primary);background-color:var(--s-surface-overlay-hovered)}.button--variant-floating.sc-flip-button:active{color:var(--s-text-on-action-primary);background-color:var(--s-surface-overlay-pressed)}.button--variant-floating.button--icon-only.sc-flip-button{padding:var(--s-space-4)}.button--variant-floating.button--intent-primary.sc-flip-button{padding:var(--s-space-12) var(--s-space-20);border-radius:1.5rem;color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-default)}.button--variant-floating.button--intent-primary.sc-flip-button:hover:not(:disabled){color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-hovered)}.button--variant-floating.button--intent-primary.sc-flip-button:active:not(:disabled){color:var(--s-text-on-action-primary);background-color:var(--s-action-primary-pressed)}.button--variant-floating.button--intent-primary.sc-flip-button:disabled{color:var(--s-text-on-action-primary)}.button--variant-floating.button--intent-primary.sc-flip-button:disabled .button__left-icon.sc-flip-button{color:var(--s-icon-on-action-primary)}.button--variant-floating.button--intent-primary.sc-flip-button .button__left-icon.sc-flip-button{color:var(--s-icon-on-action-primary)}.button--variant-floating.sc-flip-button .button__left-icon.sc-flip-button{color:var(--s-icon-strong)}.button--icon-only.sc-flip-button{padding:var(--s-space-8);border-radius:50%}.button--icon-only.sc-flip-button .button__left-icon.sc-flip-button{margin-left:0}.button__left-icon.sc-flip-button{display:inline-flex;margin-left:calc(-1 * var(--s-space-4));color:var(--s-icon-default)}.button__label.sc-flip-button{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}`, c = class {
10
- constructor(t) {
11
- a(this, t), this.intent = "default", this.size = "m", this.type = "button", this.variant = "ghost";
12
- }
13
- componentDidLoad() {
14
- this.forceIconProps();
15
- }
16
- forceIconProps() {
17
- if (!Boolean(this.iconEl))
18
- return;
19
- const t = this.iconEl.children[0];
20
- t == null || t.setAttribute("size", "24");
21
- }
22
- render() {
23
- const t = this.hideLabel && Boolean(this.icon) || this.variant === "floating" && this.intent === "default", n = Boolean(this.href), r = l("button", `button--intent-${this.intent}`, `button--size-${this.size}`, `button--variant-${this.variant}`, {
24
- "button--icon-only": t
25
- });
26
- return o(i, null, o(n ? "a" : "button", { "aria-disabled": this.disabled && !n ? "true" : void 0, "aria-label": t ? this.label : void 0, class: r, disabled: n ? void 0 : this.disabled, download: n ? void 0 : this.download, form: n ? void 0 : this.form, href: this.href, name: n ? void 0 : this.name, target: n ? this.target : void 0, type: n ? void 0 : this.type, value: n ? void 0 : this.value }, this.icon && o("span", { class: "button__left-icon", innerHTML: this.icon, ref: (e) => this.iconEl = e }), !t && o("span", { class: "button__label" }, this.label)));
27
- }
28
- };
29
- c.style = s;
30
- const u = ":host{display:block}:host *{box-sizing:border-box}", b = class {
31
- constructor(t) {
32
- a(this, t), this.orientation = "horizontal";
33
- }
34
- render() {
35
- return o(i, null, o("flip-stack", { align: this.orientation === "vertical" && this.stretch ? "stretch" : "start", class: "button-group", justify: this.orientation === "horizontal" && this.stretch ? "stretch" : "start", orientation: this.orientation, role: "group", spacing: "8", wrap: this.wrap }, o("slot", null)));
36
- }
37
- };
38
- b.style = u;
39
- export {
40
- c as flip_button,
41
- b as flip_button_group
42
- };
@@ -1,139 +0,0 @@
1
- import { r as h, c as d, h as s, H as u } from "./main.7e7363a7.js";
2
- import { c as f } from "./index-3c78bcaf.2675909b.js";
3
- import "react";
4
- import "react-dom";
5
- var g = [
6
- 'a[href]:not([tabindex^="-"])',
7
- 'area[href]:not([tabindex^="-"])',
8
- 'input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])',
9
- 'input[type="radio"]:not([disabled]):not([tabindex^="-"])',
10
- 'select:not([disabled]):not([tabindex^="-"])',
11
- 'textarea:not([disabled]):not([tabindex^="-"])',
12
- 'button:not([disabled]):not([tabindex^="-"])',
13
- 'iframe:not([tabindex^="-"])',
14
- 'audio[controls]:not([tabindex^="-"])',
15
- 'video[controls]:not([tabindex^="-"])',
16
- '[contenteditable]:not([tabindex^="-"])',
17
- '[tabindex]:not([tabindex^="-"])'
18
- ], b = "Tab", m = "Escape";
19
- function e(i) {
20
- this._show = this.show.bind(this), this._hide = this.hide.bind(this), this._maintainFocus = this._maintainFocus.bind(this), this._bindKeypress = this._bindKeypress.bind(this), this.$el = i, this.shown = !1, this._id = this.$el.getAttribute("data-a11y-dialog") || this.$el.id, this._previouslyFocused = null, this._listeners = {}, this.create();
21
- }
22
- e.prototype.create = function() {
23
- this.$el.setAttribute("aria-hidden", !0), this.$el.setAttribute("aria-modal", !0), this.$el.setAttribute("tabindex", -1), this.$el.hasAttribute("role") || this.$el.setAttribute("role", "dialog"), this._openers = n('[data-a11y-dialog-show="' + this._id + '"]'), this._openers.forEach(
24
- function(t) {
25
- t.addEventListener("click", this._show);
26
- }.bind(this)
27
- );
28
- const i = this.$el;
29
- return this._closers = n("[data-a11y-dialog-hide]", this.$el).filter(function(t) {
30
- return t.closest('[aria-modal="true"], [data-a11y-dialog]') === i;
31
- }).concat(n('[data-a11y-dialog-hide="' + this._id + '"]')), this._closers.forEach(
32
- function(t) {
33
- t.addEventListener("click", this._hide);
34
- }.bind(this)
35
- ), this._fire("create"), this;
36
- };
37
- e.prototype.show = function(i) {
38
- return this.shown ? this : (this._previouslyFocused = document.activeElement, this.$el.removeAttribute("aria-hidden"), this.shown = !0, l(this.$el), document.body.addEventListener("focus", this._maintainFocus, !0), document.addEventListener("keydown", this._bindKeypress), this._fire("show", i), this);
39
- };
40
- e.prototype.hide = function(i) {
41
- return this.shown ? (this.shown = !1, this.$el.setAttribute("aria-hidden", "true"), this._previouslyFocused && this._previouslyFocused.focus && this._previouslyFocused.focus(), document.body.removeEventListener("focus", this._maintainFocus, !0), document.removeEventListener("keydown", this._bindKeypress), this._fire("hide", i), this) : this;
42
- };
43
- e.prototype.destroy = function() {
44
- return this.hide(), this._openers.forEach(
45
- function(i) {
46
- i.removeEventListener("click", this._show);
47
- }.bind(this)
48
- ), this._closers.forEach(
49
- function(i) {
50
- i.removeEventListener("click", this._hide);
51
- }.bind(this)
52
- ), this._fire("destroy"), this._listeners = {}, this;
53
- };
54
- e.prototype.on = function(i, t) {
55
- return typeof this._listeners[i] > "u" && (this._listeners[i] = []), this._listeners[i].push(t), this;
56
- };
57
- e.prototype.off = function(i, t) {
58
- var o = (this._listeners[i] || []).indexOf(t);
59
- return o > -1 && this._listeners[i].splice(o, 1), this;
60
- };
61
- e.prototype._fire = function(i, t) {
62
- var o = this._listeners[i] || [], a = new CustomEvent(i, { detail: t });
63
- this.$el.dispatchEvent(a), o.forEach(
64
- function(c) {
65
- c(this.$el, t);
66
- }.bind(this)
67
- );
68
- };
69
- e.prototype._bindKeypress = function(i) {
70
- const t = document.activeElement;
71
- t && t.closest('[aria-modal="true"]') !== this.$el || (this.shown && i.key === m && this.$el.getAttribute("role") !== "alertdialog" && (i.preventDefault(), this.hide(i)), this.shown && i.key === b && _(this.$el, i));
72
- };
73
- e.prototype._maintainFocus = function(i) {
74
- this.shown && !i.target.closest('[aria-modal="true"]') && !i.target.closest("[data-a11y-dialog-ignore-focus-trap]") && l(this.$el);
75
- };
76
- function p(i) {
77
- return Array.prototype.slice.call(i);
78
- }
79
- function n(i, t) {
80
- return p((t || document).querySelectorAll(i));
81
- }
82
- function l(i) {
83
- var t = i.querySelector("[autofocus]") || i;
84
- t.focus();
85
- }
86
- function y(i) {
87
- return n(g.join(","), i).filter(function(t) {
88
- return !!(t.offsetWidth || t.offsetHeight || t.getClientRects().length);
89
- });
90
- }
91
- function _(i, t) {
92
- var o = y(i), a = o.indexOf(document.activeElement);
93
- t.shiftKey && a === 0 ? (o[o.length - 1].focus(), t.preventDefault()) : !t.shiftKey && a === o.length - 1 && (o[0].focus(), t.preventDefault());
94
- }
95
- function r() {
96
- n("[data-a11y-dialog]").forEach(function(i) {
97
- new e(i);
98
- });
99
- }
100
- typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", r) : window.requestAnimationFrame ? window.requestAnimationFrame(r) : window.setTimeout(r, 16));
101
- const v = ':host{--flip-ghost-button-background-default:var(--s-surface-overlay-default);--flip-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--flip-ghost-button-background-pressed:var(--s-surface-overlay-pressed);display:block}:host *{box-sizing:border-box}.dialog{position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.dialog[aria-hidden="true"]{display:none}.dialog:not(.dialog--closing) .dialog__backdrop{-webkit-animation:0.15s dialog-backdrop-fade-in;animation:0.15s dialog-backdrop-fade-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__backdrop{-webkit-animation:none;animation:none}}.dialog:not(.dialog--closing) .dialog__body{-webkit-animation:0.15s dialog-scale-in;animation:0.15s dialog-scale-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__body{-webkit-animation:none;animation:none}}.dialog--closing{-webkit-animation:0.15s dialog-fade-out;animation:0.15s dialog-fade-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.dialog--closing{-webkit-animation:none;animation:none}}.dialog__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.dialog__body{z-index:var(--s-z-40);overflow-x:hidden;overflow-y:auto;width:18.5rem;max-height:90vh;padding-top:var(--s-space-24);padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);padding-left:var(--s-space-8);border-radius:var(--s-border-radius-xl);background-color:var(--s-surface-overlay-default);text-align:center;box-shadow:0.125rem 0.25rem 1rem rgba(0, 0, 0, 0.14)}.dialog__heading{margin:0;margin-bottom:var(--s-space-8);font-size:var(--s-font-size-lg);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-lg)}.dialog__content{margin-bottom:var(--s-space-24);line-height:var(--s-line-height-base)}.dialog__content ::slotted(*){margin:0}@-webkit-keyframes dialog-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes dialog-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes dialog-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes dialog-backdrop-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes dialog-fade-out{from{opacity:1}to{opacity:0}}@keyframes dialog-fade-out{from{opacity:1}to{opacity:0}}', w = class {
102
- constructor(i) {
103
- h(this, i), this.primaryAction = d(this, "primaryAction", 7), this.secondaryAction = d(this, "secondaryAction", 7), this.intent = "primary", this.closing = !1, this.onKeyDown = (t) => {
104
- t.code === "Escape" && this.close();
105
- }, this.onBackdropClick = () => {
106
- this.close();
107
- }, this.onPrimaryAction = (t) => {
108
- this.primaryAction.emit(t), this.close();
109
- }, this.onSecondaryAction = (t) => {
110
- this.secondaryAction.emit(t), this.close();
111
- };
112
- }
113
- componentDidLoad() {
114
- this.dialog = new e(this.dialogEl), this.dialog.on("show", () => {
115
- var i;
116
- (i = this.controlsContainerEl.querySelector("flip-button button")) === null || i === void 0 || i.focus();
117
- });
118
- }
119
- disconnectedCallback() {
120
- var i;
121
- (i = this.dialog) === null || i === void 0 || i.destroy();
122
- }
123
- async open() {
124
- this.dialog.show();
125
- }
126
- async close() {
127
- this.closing || (this.closing = !0, setTimeout(() => {
128
- this.dialog.hide(), this.closing = !1;
129
- }, 150));
130
- }
131
- render() {
132
- const i = f("dialog", { "dialog--closing": this.closing });
133
- return s(u, null, s("div", { "aria-describedby": "content", "aria-hidden": "true", "aria-labelledby": this.hideLabel ? void 0 : "label", "aria-label": this.hideLabel ? this.label : void 0, "aria-modal": "true", class: i, onKeyDown: this.onKeyDown, ref: (t) => this.dialogEl = t, role: "alertdialog" }, s("div", { class: "dialog__backdrop", onClick: this.onBackdropClick }), s("div", { class: "dialog__body", role: "document" }, !this.hideLabel && s("h2", { class: "dialog__heading", id: "label" }, this.label), s("div", { class: "dialog__content", id: "content" }, s("slot", null)), s("flip-button-group", { class: "dialog__controls", ref: (t) => this.controlsContainerEl = t, stretch: !0, wrap: !0 }, this.secondaryActionLabel && s("flip-button", { label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && s("flip-button", { intent: this.intent, label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: this.intent === "critical" ? "ghost" : "flat" })))));
134
- }
135
- };
136
- w.style = v;
137
- export {
138
- w as flip_dialog
139
- };
@@ -1,15 +0,0 @@
1
- import { r as t, h as s, F as C } from "./main.7e7363a7.js";
2
- import "react";
3
- import "react-dom";
4
- const l = ":host{display:inline-flex}", e = class {
5
- constructor(i) {
6
- t(this, i), this.size = 24;
7
- }
8
- render() {
9
- return s("svg", { class: "flip-icon", fill: "none", height: this.size, part: "icon", viewBox: `0 0 ${this.size} ${this.size}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && s(C, null, s("path", { d: "M4.39999 9.85C4.25554 9.70556 4.18332 9.52778 4.18332 9.31667C4.18332 9.10556 4.25554 8.92778 4.39999 8.78333L7.46665 5.71667C7.54443 5.63889 7.62776 5.58333 7.71665 5.55C7.80554 5.51667 7.89999 5.5 7.99999 5.5C8.09999 5.5 8.19443 5.51667 8.28332 5.55C8.37221 5.58333 8.45554 5.63889 8.53332 5.71667L11.6167 8.8C11.7611 8.94444 11.8307 9.11667 11.8253 9.31667C11.8195 9.51667 11.7444 9.69444 11.6 9.85C11.4555 9.98333 11.2778 10.05 11.0667 10.05C10.8555 10.05 10.6778 9.98333 10.5333 9.85L7.99999 7.3L5.44999 9.86667C5.30554 10 5.13332 10.0667 4.93332 10.0667C4.73332 10.0667 4.55554 9.99444 4.39999 9.85V9.85Z", fill: "currentColor" })), this.size === 24 && s(C, null, s("path", { d: "M6.59999 14.775C6.38333 14.5583 6.27499 14.2917 6.27499 13.975C6.27499 13.6583 6.38333 13.3917 6.59999 13.175L11.2 8.575C11.3167 8.45833 11.4417 8.375 11.575 8.325C11.7083 8.275 11.85 8.25 12 8.25C12.15 8.25 12.2917 8.275 12.425 8.325C12.5583 8.375 12.6833 8.45833 12.8 8.575L17.425 13.2C17.6417 13.4167 17.746 13.675 17.738 13.975C17.7293 14.275 17.6167 14.5417 17.4 14.775C17.1833 14.975 16.9167 15.075 16.6 15.075C16.2833 15.075 16.0167 14.975 15.8 14.775L12 10.95L8.17499 14.8C7.95833 15 7.69999 15.1 7.39999 15.1C7.09999 15.1 6.83333 14.9917 6.59999 14.775Z", fill: "currentColor" })), this.size === 28 && s(C, null, s("path", { d: "M7.7 17.2375C7.44722 16.9847 7.32083 16.6736 7.32083 16.3042C7.32083 15.9347 7.44722 15.6236 7.7 15.3708L13.0667 10.0042C13.2028 9.86806 13.3486 9.77083 13.5042 9.7125C13.6597 9.65417 13.825 9.625 14 9.625C14.175 9.625 14.3403 9.65417 14.4958 9.7125C14.6514 9.77083 14.7972 9.86806 14.9333 10.0042L20.3292 15.4C20.5819 15.6528 20.7037 15.9542 20.6943 16.3042C20.6842 16.6542 20.5528 16.9653 20.3 17.2375C20.0472 17.4708 19.7361 17.5875 19.3667 17.5875C18.9972 17.5875 18.6861 17.4708 18.4333 17.2375L14 12.775L9.5375 17.2667C9.28472 17.5 8.98333 17.6167 8.63333 17.6167C8.28333 17.6167 7.97222 17.4903 7.7 17.2375V17.2375Z", fill: "currentColor" })));
10
- }
11
- };
12
- e.style = l;
13
- export {
14
- e as flip_icon_expand_less
15
- };
@@ -1,15 +0,0 @@
1
- import { r as t, h as C, F as i } from "./main.7e7363a7.js";
2
- import "react";
3
- import "react-dom";
4
- const l = ":host{display:inline-flex}", o = class {
5
- constructor(s) {
6
- t(this, s), this.size = 24;
7
- }
8
- render() {
9
- return C("svg", { class: "flip-icon", fill: "none", height: this.size, part: "icon", viewBox: `0 0 ${this.size} ${this.size}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && C(i, null, C("path", { d: "M6 11C5.53333 11 5.13889 10.8389 4.81667 10.5167C4.49444 10.1945 4.33333 9.80004 4.33333 9.33337C4.33333 8.86671 4.49444 8.47226 4.81667 8.15004C5.13889 7.82782 5.53333 7.66671 6 7.66671C6.46667 7.66671 6.86111 7.82782 7.18333 8.15004C7.50556 8.47226 7.66667 8.86671 7.66667 9.33337C7.66667 9.80004 7.50556 10.1945 7.18333 10.5167C6.86111 10.8389 6.46667 11 6 11ZM3.33333 14.6667C2.96667 14.6667 2.65267 14.5363 2.39133 14.2754C2.13044 14.014 2 13.7 2 13.3334V4.00004C2 3.63337 2.13044 3.3196 2.39133 3.05871C2.65267 2.79737 2.96667 2.66671 3.33333 2.66671H4V2.00004C4 1.81115 4.06378 1.65271 4.19133 1.52471C4.31933 1.39715 4.47778 1.33337 4.66667 1.33337C4.85556 1.33337 5.014 1.39715 5.142 1.52471C5.26956 1.65271 5.33333 1.81115 5.33333 2.00004V2.66671H10.6667V2.00004C10.6667 1.81115 10.7307 1.65271 10.8587 1.52471C10.9862 1.39715 11.1444 1.33337 11.3333 1.33337C11.5222 1.33337 11.6804 1.39715 11.808 1.52471C11.936 1.65271 12 1.81115 12 2.00004V2.66671H12.6667C13.0333 2.66671 13.3473 2.79737 13.6087 3.05871C13.8696 3.3196 14 3.63337 14 4.00004V13.3334C14 13.7 13.8696 14.014 13.6087 14.2754C13.3473 14.5363 13.0333 14.6667 12.6667 14.6667H3.33333ZM3.33333 13.3334H12.6667V6.66671H3.33333V13.3334Z", fill: "currentColor" })), this.size === 24 && C(i, null, C("path", { d: "M9 16.5C8.3 16.5 7.70833 16.2583 7.225 15.775C6.74167 15.2917 6.5 14.7 6.5 14C6.5 13.3 6.74167 12.7083 7.225 12.225C7.70833 11.7417 8.3 11.5 9 11.5C9.7 11.5 10.2917 11.7417 10.775 12.225C11.2583 12.7083 11.5 13.3 11.5 14C11.5 14.7 11.2583 15.2917 10.775 15.775C10.2917 16.2583 9.7 16.5 9 16.5ZM5 22C4.45 22 3.979 21.8043 3.587 21.413C3.19567 21.021 3 20.55 3 20V6C3 5.45 3.19567 4.97933 3.587 4.588C3.979 4.196 4.45 4 5 4H6V3C6 2.71667 6.09567 2.479 6.287 2.287C6.479 2.09567 6.71667 2 7 2C7.28333 2 7.521 2.09567 7.713 2.287C7.90433 2.479 8 2.71667 8 3V4H16V3C16 2.71667 16.096 2.479 16.288 2.287C16.4793 2.09567 16.7167 2 17 2C17.2833 2 17.5207 2.09567 17.712 2.287C17.904 2.479 18 2.71667 18 3V4H19C19.55 4 20.021 4.196 20.413 4.588C20.8043 4.97933 21 5.45 21 6V20C21 20.55 20.8043 21.021 20.413 21.413C20.021 21.8043 19.55 22 19 22H5ZM5 20H19V10H5V20Z", fill: "currentColor" })), this.size === 28 && C(i, null, C("path", { d: "M10.5 19.25C9.68333 19.25 8.99306 18.9681 8.42917 18.4042C7.86528 17.8403 7.58333 17.15 7.58333 16.3334C7.58333 15.5167 7.86528 14.8264 8.42917 14.2625C8.99306 13.6987 9.68333 13.4167 10.5 13.4167C11.3167 13.4167 12.0069 13.6987 12.5708 14.2625C13.1347 14.8264 13.4167 15.5167 13.4167 16.3334C13.4167 17.15 13.1347 17.8403 12.5708 18.4042C12.0069 18.9681 11.3167 19.25 10.5 19.25ZM5.83333 25.6667C5.19167 25.6667 4.64217 25.4384 4.18483 24.9819C3.72828 24.5245 3.5 23.975 3.5 23.3334V7.00004C3.5 6.35837 3.72828 5.80926 4.18483 5.35271C4.64217 4.89537 5.19167 4.66671 5.83333 4.66671H7V3.50004C7 3.16949 7.11161 2.89221 7.33483 2.66821C7.55883 2.44499 7.83611 2.33337 8.16667 2.33337C8.49722 2.33337 8.7745 2.44499 8.9985 2.66821C9.22172 2.89221 9.33333 3.16949 9.33333 3.50004V4.66671H18.6667V3.50004C18.6667 3.16949 18.7787 2.89221 19.0027 2.66821C19.2259 2.44499 19.5028 2.33337 19.8333 2.33337C20.1639 2.33337 20.4408 2.44499 20.664 2.66821C20.888 2.89221 21 3.16949 21 3.50004V4.66671H22.1667C22.8083 4.66671 23.3578 4.89537 23.8152 5.35271C24.2717 5.80926 24.5 6.35837 24.5 7.00004V23.3334C24.5 23.975 24.2717 24.5245 23.8152 24.9819C23.3578 25.4384 22.8083 25.6667 22.1667 25.6667H5.83333ZM5.83333 23.3334H22.1667V11.6667H5.83333V23.3334Z", fill: "currentColor" })));
10
- }
11
- };
12
- o.style = l;
13
- export {
14
- o as flip_icon_today
15
- };
@@ -1,15 +0,0 @@
1
- import { r as t, h as C, F as i } from "./main.7e7363a7.js";
2
- import "react";
3
- import "react-dom";
4
- const l = ":host{display:inline-flex}", r = class {
5
- constructor(s) {
6
- t(this, s), this.size = 24;
7
- }
8
- render() {
9
- return C("svg", { class: "flip-icon", fill: "none", height: this.size, part: "icon", viewBox: `0 0 ${this.size} ${this.size}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && C(i, null, C("path", { d: "M7.99999 4.31339C9.83999 4.31339 11.3333 5.80672 11.3333 7.64672C11.3333 7.98672 11.2667 8.31339 11.1733 8.62006L13.2133 10.6601C14.14 9.84006 14.8733 8.81339 15.3333 7.64006C14.18 4.72006 11.3333 2.64672 7.99999 2.64672C7.15332 2.64672 6.33999 2.78006 5.57332 3.02672L7.01999 4.47339C7.33332 4.38006 7.65999 4.31339 7.99999 4.31339ZM1.80666 2.08672C1.54666 2.34672 1.54666 2.76672 1.80666 3.02672L3.11999 4.34006C2.03999 5.20006 1.17999 6.33339 0.666656 7.64672C1.81999 10.5734 4.66666 12.6467 7.99999 12.6467C9.01332 12.6467 9.97999 12.4467 10.8733 12.1001L12.6867 13.9134C12.9467 14.1734 13.3667 14.1734 13.6267 13.9134C13.8867 13.6534 13.8867 13.2334 13.6267 12.9734L2.75332 2.08672C2.49332 1.82672 2.06666 1.82672 1.80666 2.08672ZM7.99999 10.9801C6.15999 10.9801 4.66666 9.48672 4.66666 7.64672C4.66666 7.13339 4.78666 6.64672 4.99332 6.22006L6.03999 7.26672C6.01999 7.38672 5.99999 7.51339 5.99999 7.64672C5.99999 8.75339 6.89332 9.64672 7.99999 9.64672C8.13332 9.64672 8.25332 9.62672 8.37999 9.60006L9.42666 10.6467C8.99332 10.8601 8.51332 10.9801 7.99999 10.9801ZM9.97999 7.42672C9.87999 6.49339 9.14666 5.76672 8.21999 5.66672L9.97999 7.42672Z", fill: "currentColor" })), this.size === 24 && C(i, null, C("path", { d: "M12 6.47002C14.76 6.47002 17 8.71002 17 11.47C17 11.98 16.9 12.47 16.76 12.93L19.82 15.99C21.21 14.76 22.31 13.22 23 11.46C21.27 7.08002 17 3.97002 12 3.97002C10.73 3.97002 9.51 4.17002 8.36 4.54002L10.53 6.71002C11 6.57002 11.49 6.47002 12 6.47002ZM2.71 3.13002C2.32 3.52002 2.32 4.15002 2.71 4.54002L4.68 6.51002C3.06 7.80002 1.77 9.50002 1 11.47C2.73 15.86 7 18.97 12 18.97C13.52 18.97 14.97 18.67 16.31 18.15L19.03 20.87C19.42 21.26 20.05 21.26 20.44 20.87C20.83 20.48 20.83 19.85 20.44 19.46L4.13 3.13002C3.74 2.74002 3.1 2.74002 2.71 3.13002ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z", fill: "currentColor" })), this.size === 28 && C(i, null, C("path", { d: "M14 7.54834C17.22 7.54834 19.8333 10.1617 19.8333 13.3817C19.8333 13.9767 19.7167 14.5483 19.5533 15.085L23.1233 18.655C24.745 17.22 26.0283 15.4233 26.8333 13.37C24.815 8.26001 19.8333 4.63167 14 4.63167C12.5183 4.63167 11.095 4.86501 9.75332 5.29667L12.285 7.82834C12.8333 7.66501 13.405 7.54834 14 7.54834ZM3.16166 3.65167C2.70666 4.10667 2.70666 4.84167 3.16166 5.29667L5.45999 7.59501C3.56999 9.10001 2.06499 11.0833 1.16666 13.3817C3.18499 18.5033 8.16666 22.1317 14 22.1317C15.7733 22.1317 17.465 21.7817 19.0283 21.175L22.2017 24.3483C22.6567 24.8033 23.3917 24.8033 23.8467 24.3483C24.3017 23.8933 24.3017 23.1583 23.8467 22.7033L4.81832 3.65167C4.36332 3.19667 3.61666 3.19667 3.16166 3.65167ZM14 19.215C10.78 19.215 8.16666 16.6017 8.16666 13.3817C8.16666 12.4833 8.37666 11.6317 8.73832 10.885L10.57 12.7167C10.535 12.9267 10.5 13.1483 10.5 13.3817C10.5 15.3183 12.0633 16.8817 14 16.8817C14.2333 16.8817 14.4433 16.8467 14.665 16.8L16.4967 18.6317C15.7383 19.005 14.8983 19.215 14 19.215ZM17.465 12.9967C17.29 11.3633 16.0067 10.0917 14.385 9.91667L17.465 12.9967Z", fill: "currentColor" })));
10
- }
11
- };
12
- r.style = l;
13
- export {
14
- r as flip_icon_visibility_off
15
- };
@@ -1,15 +0,0 @@
1
- import { r as t, h as i, F as C } from "./main.7e7363a7.js";
2
- import "react";
3
- import "react-dom";
4
- const l = ":host{display:inline-flex}", r = class {
5
- constructor(s) {
6
- t(this, s), this.size = 24;
7
- }
8
- render() {
9
- return i("svg", { class: "flip-icon", fill: "none", height: this.size, part: "icon", viewBox: `0 0 ${this.size} ${this.size}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && i(C, null, i("path", { d: "M8 3C4.66666 3 1.82 5.07333 0.666664 8C1.82 10.9267 4.66666 13 8 13C11.3333 13 14.18 10.9267 15.3333 8C14.18 5.07333 11.3333 3 8 3ZM8 11.3333C6.16 11.3333 4.66666 9.84 4.66666 8C4.66666 6.16 6.16 4.66667 8 4.66667C9.84 4.66667 11.3333 6.16 11.3333 8C11.3333 9.84 9.84 11.3333 8 11.3333ZM8 6C6.89333 6 6 6.89333 6 8C6 9.10667 6.89333 10 8 10C9.10666 10 10 9.10667 10 8C10 6.89333 9.10666 6 8 6Z", fill: "currentColor" })), this.size === 24 && i(C, null, i("path", { d: "M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z", fill: "currentColor" })), this.size === 28 && i(C, null, i("path", { d: "M14 5.25C8.16666 5.25 3.185 8.87833 1.16666 14C3.185 19.1217 8.16666 22.75 14 22.75C19.8333 22.75 24.815 19.1217 26.8333 14C24.815 8.87833 19.8333 5.25 14 5.25ZM14 19.8333C10.78 19.8333 8.16666 17.22 8.16666 14C8.16666 10.78 10.78 8.16667 14 8.16667C17.22 8.16667 19.8333 10.78 19.8333 14C19.8333 17.22 17.22 19.8333 14 19.8333ZM14 10.5C12.0633 10.5 10.5 12.0633 10.5 14C10.5 15.9367 12.0633 17.5 14 17.5C15.9367 17.5 17.5 15.9367 17.5 14C17.5 12.0633 15.9367 10.5 14 10.5Z", fill: "currentColor" })));
10
- }
11
- };
12
- r.style = l;
13
- export {
14
- r as flip_icon_visibility
15
- };
@@ -1,17 +0,0 @@
1
- import { r as s, h as i, H as n } from "./main.7e7363a7.js";
2
- import { c as o } from "./index-3c78bcaf.2675909b.js";
3
- import "react";
4
- import "react-dom";
5
- const l = ":host{display:inline-flex}:host *{box-sizing:border-box}.inline-error{display:inline-flex;color:var(--s-text-critical);line-height:var(--s-line-height-base)}.inline-error--size-s{font-size:var(--s-font-size-sm)}.inline-error--size-s .inline-error__icon{padding-top:0.0625rem}.inline-error--size-s .inline-error__message{padding-top:0}.inline-error__icon{display:inline-flex;color:var(--s-icon-critical)}.inline-error__message{margin-left:var(--s-space-4);padding-top:var(--s-space-2)}", a = class {
6
- constructor(r) {
7
- s(this, r), this.size = "m";
8
- }
9
- render() {
10
- const r = this.size === "m" ? 24 : 16, e = o("inline-error", `inline-error--size-${this.size}`);
11
- return i(n, null, i("span", { class: e }, i("span", { class: "inline-error__icon" }, i("flip-icon-error", { size: r })), i("span", { class: "inline-error__message" }, this.message)));
12
- }
13
- };
14
- a.style = l;
15
- export {
16
- a as flip_inline_error
17
- };