@getflip/swirl-components-react 0.8.1 → 0.10.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 (139) hide show
  1. package/dist/{file-manager.entry.7251c746.js → file-manager.entry.8bb8e04c.js} +1 -1
  2. package/dist/{flip-action-list-item.entry.0be8478f.js → flip-action-list-item.entry.56f1f1ef.js} +1 -1
  3. package/dist/{flip-action-list-section.entry.64bcc246.js → flip-action-list-section.entry.a99c7d3e.js} +1 -1
  4. package/dist/{flip-action-list.entry.33f73a87.js → flip-action-list.entry.7bdcff2f.js} +1 -1
  5. package/dist/{flip-app-layout_5.entry.1dcb96df.js → flip-app-layout_5.entry.6e395cd4.js} +1 -1
  6. package/dist/{flip-autocomplete.entry.9b8ad419.js → flip-autocomplete.entry.309d4ae7.js} +1 -1
  7. package/dist/{flip-avatar-group.entry.25603439.js → flip-avatar-group.entry.4192d45c.js} +1 -1
  8. package/dist/{flip-avatar.entry.38eb3009.js → flip-avatar.entry.f5cb1fd9.js} +1 -1
  9. package/dist/{flip-badge.entry.5cc8a255.js → flip-badge.entry.9de15857.js} +1 -1
  10. package/dist/{flip-banner.entry.0722b777.js → flip-banner.entry.703f5f14.js} +1 -1
  11. package/dist/{flip-button-group.entry.9e124820.js → flip-button-group.entry.19eb382b.js} +1 -1
  12. package/dist/{flip-button.entry.ddfc8479.js → flip-button.entry.a046c9ec.js} +1 -1
  13. package/dist/{flip-card.entry.517760bf.js → flip-card.entry.66635d0b.js} +1 -1
  14. package/dist/{flip-checkbox.entry.a4d65d53.js → flip-checkbox.entry.f73ba3b1.js} +1 -1
  15. package/dist/{flip-chip.entry.b7f32b49.js → flip-chip.entry.2d504566.js} +1 -1
  16. package/dist/{flip-console-layout.entry.38d64009.js → flip-console-layout.entry.0b474308.js} +1 -1
  17. package/dist/{flip-date-input.entry.6a65420b.js → flip-date-input.entry.462f9e2d.js} +1 -1
  18. package/dist/{flip-date-picker_2.entry.bf667cfe.js → flip-date-picker_2.entry.cbbcb306.js} +1 -1
  19. package/dist/{flip-description-list-item.entry.1dec2fcf.js → flip-description-list-item.entry.2ea98099.js} +1 -1
  20. package/dist/{flip-description-list.entry.17ef2239.js → flip-description-list.entry.c08605e6.js} +1 -1
  21. package/dist/{flip-dialog.entry.b9a591ab.js → flip-dialog.entry.97e79b3a.js} +1 -1
  22. package/dist/{flip-file-uploader.entry.d443c716.js → flip-file-uploader.entry.2b504539.js} +1 -1
  23. package/dist/{flip-file-viewer_7.entry.f03aaae0.js → flip-file-viewer_7.entry.8d39ace2.js} +1 -1
  24. package/dist/{flip-form-control.entry.078e1170.js → flip-form-control.entry.1b840330.js} +1 -1
  25. package/dist/{flip-form-group.entry.3a44ad4f.js → flip-form-group.entry.8b6006f5.js} +1 -1
  26. package/dist/{flip-heading_2.entry.059b7655.js → flip-heading_2.entry.603511e8.js} +1 -1
  27. package/dist/{flip-icon-add-photo.entry.6da2806e.js → flip-icon-add-photo.entry.f336c2f0.js} +1 -1
  28. package/dist/{flip-icon-add_4.entry.5e5384d4.js → flip-icon-add_4.entry.99b75edc.js} +1 -1
  29. package/dist/{flip-icon-admin-panel-settings.entry.4b68db77.js → flip-icon-admin-panel-settings.entry.de10ebf5.js} +1 -1
  30. package/dist/{flip-icon-arrow-back.entry.f56d12c1.js → flip-icon-arrow-back.entry.b8865555.js} +1 -1
  31. package/dist/{flip-icon-arrow-forward.entry.568bd611.js → flip-icon-arrow-forward.entry.b2ef6fc1.js} +1 -1
  32. package/dist/{flip-icon-arrow-left_3.entry.2a35857c.js → flip-icon-arrow-left_3.entry.7a79a065.js} +1 -1
  33. package/dist/{flip-icon-arrow-right-small.entry.5e2ce3e3.js → flip-icon-arrow-right-small.entry.ae64706f.js} +1 -1
  34. package/dist/{flip-icon-attachment.entry.3bb7400a.js → flip-icon-attachment.entry.081189f0.js} +1 -1
  35. package/dist/{flip-icon-block.entry.e27068c6.js → flip-icon-block.entry.6d9c5dfc.js} +1 -1
  36. package/dist/{flip-icon-cancel_4.entry.c55de579.js → flip-icon-cancel_4.entry.d2cb75c3.js} +1 -1
  37. package/dist/{flip-icon-chat-bubble.entry.1a75e6b4.js → flip-icon-chat-bubble.entry.67f98ff5.js} +1 -1
  38. package/dist/flip-icon-chats-filled.entry.06584eb3.js +15 -0
  39. package/dist/flip-icon-chats-outlined.entry.dc6dbf4b.js +15 -0
  40. package/dist/{flip-icon-check-circle.entry.2897fcaf.js → flip-icon-check-circle.entry.29fe9a35.js} +1 -1
  41. package/dist/{flip-icon-check-small_3.entry.a9fdedb8.js → flip-icon-check-small_3.entry.8070cb06.js} +1 -1
  42. package/dist/{flip-icon-check-strong.entry.65fd1c14.js → flip-icon-check-strong.entry.fba6e55f.js} +1 -1
  43. package/dist/{flip-icon-check.entry.3389de1b.js → flip-icon-check.entry.86260e1c.js} +1 -1
  44. package/dist/{flip-icon-chevron-left.entry.f615ab82.js → flip-icon-chevron-left.entry.e4c7857a.js} +1 -1
  45. package/dist/{flip-icon-chevron-right.entry.85430d8b.js → flip-icon-chevron-right.entry.1db14308.js} +1 -1
  46. package/dist/{flip-icon-close-small.entry.0491a733.js → flip-icon-close-small.entry.cbd4fc49.js} +1 -1
  47. package/dist/{flip-icon-close.entry.9daaafa8.js → flip-icon-close.entry.48763036.js} +1 -1
  48. package/dist/{flip-icon-cloud-upload.entry.9f17204f.js → flip-icon-cloud-upload.entry.98e40ba8.js} +1 -1
  49. package/dist/{flip-icon-comment.entry.8598e177.js → flip-icon-comment.entry.6a6d8fbc.js} +1 -1
  50. package/dist/{flip-icon-copy.entry.d44cc19d.js → flip-icon-copy.entry.53b11b1a.js} +1 -1
  51. package/dist/{flip-icon-date-range.entry.40eb34a4.js → flip-icon-date-range.entry.84d14dff.js} +1 -1
  52. package/dist/{flip-icon-delete.entry.522db9ce.js → flip-icon-delete.entry.a9b6ab40.js} +1 -1
  53. package/dist/{flip-icon-description.entry.c7c49df7.js → flip-icon-description.entry.6aefa229.js} +1 -1
  54. package/dist/{flip-icon-edit.entry.7b0fef48.js → flip-icon-edit.entry.81a6837c.js} +1 -1
  55. package/dist/{flip-icon-emoji-mood.entry.ff5e5114.js → flip-icon-emoji-mood.entry.b1766a9a.js} +1 -1
  56. package/dist/{flip-icon-emoji-satisfied.entry.1e00f279.js → flip-icon-emoji-satisfied.entry.89712163.js} +1 -1
  57. package/dist/{flip-icon-error_3.entry.1a2faf38.js → flip-icon-error_3.entry.d6a422a6.js} +1 -1
  58. package/dist/{flip-icon-expand-more.entry.2cf08f30.js → flip-icon-expand-more.entry.63f210f6.js} +1 -1
  59. package/dist/{flip-icon-file.entry.6bc3ca09.js → flip-icon-file.entry.625b53c4.js} +1 -1
  60. package/dist/{flip-icon-folder-shared.entry.0f8a6f2d.js → flip-icon-folder-shared.entry.2128dab9.js} +1 -1
  61. package/dist/{flip-icon-group-assign.entry.7511d1fe.js → flip-icon-group-assign.entry.4860e5f5.js} +1 -1
  62. package/dist/{flip-icon-groups-custom.entry.67dc0efc.js → flip-icon-groups-custom.entry.ae87389c.js} +1 -1
  63. package/dist/flip-icon-groups-filled.entry.251c942d.js +15 -0
  64. package/dist/flip-icon-groups-outlined.entry.43844b1d.js +15 -0
  65. package/dist/{flip-icon-groups.entry.437d309e.js → flip-icon-groups.entry.b4f9a7f7.js} +1 -1
  66. package/dist/{flip-icon-help.entry.e061e84c.js → flip-icon-help.entry.1146bb20.js} +1 -1
  67. package/dist/{flip-icon-image.entry.2f6ad419.js → flip-icon-image.entry.0e41e08d.js} +1 -1
  68. package/dist/{flip-icon-info.entry.23b8a730.js → flip-icon-info.entry.605cfdf6.js} +1 -1
  69. package/dist/{flip-icon-inventory.entry.975fb79e.js → flip-icon-inventory.entry.166bc115.js} +1 -1
  70. package/dist/{flip-icon-like.entry.c11efd98.js → flip-icon-like.entry.cae24842.js} +1 -1
  71. package/dist/{flip-icon-link.entry.03c8f743.js → flip-icon-link.entry.22976afa.js} +1 -1
  72. package/dist/{flip-icon-lock.entry.56fef50f.js → flip-icon-lock.entry.566db977.js} +1 -1
  73. package/dist/{flip-icon-logout.entry.d3bc6ee0.js → flip-icon-logout.entry.79ae2f2c.js} +1 -1
  74. package/dist/{flip-icon-mail.entry.b6ad5f63.js → flip-icon-mail.entry.3846875a.js} +1 -1
  75. package/dist/{flip-icon-manage-accounts.entry.1f68b2b2.js → flip-icon-manage-accounts.entry.b7dff46e.js} +1 -1
  76. package/dist/{flip-icon-mention.entry.a38e5fe7.js → flip-icon-mention.entry.8cae7e24.js} +1 -1
  77. package/dist/flip-icon-menu-filled.entry.de447ac4.js +15 -0
  78. package/dist/flip-icon-menu-outlined.entry.3fb10f79.js +15 -0
  79. package/dist/{flip-icon-menu.entry.66d55597.js → flip-icon-menu.entry.cd1f33c3.js} +1 -1
  80. package/dist/{flip-icon-message.entry.e1419cd1.js → flip-icon-message.entry.b6422ee9.js} +1 -1
  81. package/dist/{flip-icon-more-horizontal.entry.3c2299f9.js → flip-icon-more-horizontal.entry.57fdb45f.js} +1 -1
  82. package/dist/{flip-icon-more-vertikal.entry.ac4e2ef4.js → flip-icon-more-vertikal.entry.60e8e3db.js} +1 -1
  83. package/dist/flip-icon-news-filled.entry.9e2ae1ac.js +15 -0
  84. package/dist/flip-icon-news-outlined.entry.27fe1a80.js +15 -0
  85. package/dist/{flip-icon-notifications-active.entry.52087a2a.js → flip-icon-notifications-active.entry.ad17e8e4.js} +1 -1
  86. package/dist/{flip-icon-notifications-off.entry.535095ab.js → flip-icon-notifications-off.entry.669ff414.js} +1 -1
  87. package/dist/{flip-icon-notifications.entry.43e19ee0.js → flip-icon-notifications.entry.c533a876.js} +1 -1
  88. package/dist/{flip-icon-open-in-new.entry.ca3eb3f4.js → flip-icon-open-in-new.entry.f020da7b.js} +1 -1
  89. package/dist/{flip-icon-people-alt.entry.34475ef8.js → flip-icon-people-alt.entry.23a07d8d.js} +1 -1
  90. package/dist/{flip-icon-person-off.entry.ff7bff50.js → flip-icon-person-off.entry.b9487422.js} +1 -1
  91. package/dist/{flip-icon-person.entry.a97028b5.js → flip-icon-person.entry.2b1ece6a.js} +1 -1
  92. package/dist/{flip-icon-phone.entry.e6bf7a97.js → flip-icon-phone.entry.d878e225.js} +1 -1
  93. package/dist/{flip-icon-poll.entry.71b927ea.js → flip-icon-poll.entry.9f9d3097.js} +1 -1
  94. package/dist/{flip-icon-print.entry.eaf8d043.js → flip-icon-print.entry.3c6ba219.js} +1 -1
  95. package/dist/{flip-icon-recieved.entry.fab2ec34.js → flip-icon-recieved.entry.0e863e26.js} +1 -1
  96. package/dist/{flip-icon-search-strong.entry.439261d1.js → flip-icon-search-strong.entry.9e14089f.js} +1 -1
  97. package/dist/{flip-icon-search.entry.6d6790d7.js → flip-icon-search.entry.8e785c5b.js} +1 -1
  98. package/dist/{flip-icon-send.entry.14a6ff24.js → flip-icon-send.entry.2b9ec517.js} +1 -1
  99. package/dist/{flip-icon-settings.entry.ce250473.js → flip-icon-settings.entry.1c1c82ba.js} +1 -1
  100. package/dist/flip-icon-tasks-filled.entry.6b345bdf.js +15 -0
  101. package/dist/flip-icon-tasks-outlined.entry.75282f32.js +15 -0
  102. package/dist/{flip-icon-time-filled.entry.3e82eed4.js → flip-icon-time-filled.entry.4b2e3be8.js} +1 -1
  103. package/dist/{flip-icon-time-outlined.entry.bc12d47c.js → flip-icon-time-outlined.entry.1ce39655.js} +1 -1
  104. package/dist/{flip-icon-user-assign.entry.ec6eb139.js → flip-icon-user-assign.entry.8fd4da9a.js} +1 -1
  105. package/dist/{flip-icon-video-camera.entry.9d0ce8c9.js → flip-icon-video-camera.entry.7f1b8790.js} +1 -1
  106. package/dist/{flip-icon-warning.entry.a9394adb.js → flip-icon-warning.entry.a73148c4.js} +1 -1
  107. package/dist/{flip-lightbox.entry.2bc1bc5b.js → flip-lightbox.entry.e6ea2310.js} +1 -1
  108. package/dist/{flip-link.entry.9f9394fb.js → flip-link.entry.5daf5ffe.js} +1 -1
  109. package/dist/{flip-list.entry.03dbc1a4.js → flip-list.entry.25e0a5e8.js} +1 -1
  110. package/dist/{flip-modal.entry.1b441b71.js → flip-modal.entry.f14cc170.js} +1 -1
  111. package/dist/{flip-option-list-section.entry.3b4e61f7.js → flip-option-list-section.entry.d1b4d66a.js} +1 -1
  112. package/dist/{flip-pagination.entry.7097b9f3.js → flip-pagination.entry.e6de7b67.js} +1 -1
  113. package/dist/{flip-pdf-reader.entry.5ef86ef6.js → flip-pdf-reader.entry.4cdb28da.js} +1 -1
  114. package/dist/{flip-popover.entry.08164513.js → flip-popover.entry.4a45218b.js} +1 -1
  115. package/dist/{flip-progress-indicator.entry.027a1071.js → flip-progress-indicator.entry.fc0e5979.js} +1 -1
  116. package/dist/{flip-radio-group.entry.d155d253.js → flip-radio-group.entry.081a6b27.js} +1 -1
  117. package/dist/{flip-radio.entry.1ee2d9cf.js → flip-radio.entry.fd8faaa3.js} +1 -1
  118. package/dist/{flip-resource-list-file-item.entry.8cd9961d.js → flip-resource-list-file-item.entry.d15b84be.js} +1 -1
  119. package/dist/{flip-search.entry.c170f877.js → flip-search.entry.638f3769.js} +1 -1
  120. package/dist/{flip-select.entry.cb109e5f.js → flip-select.entry.5c709269.js} +1 -1
  121. package/dist/{flip-stack.entry.42e2ac15.js → flip-stack.entry.a5b14f3a.js} +1 -1
  122. package/dist/{flip-switch.entry.0a5e792b.js → flip-switch.entry.f812357e.js} +1 -1
  123. package/dist/{flip-tab.entry.d4c66f63.js → flip-tab.entry.83bf882c.js} +1 -1
  124. package/dist/{flip-tabs.entry.e1d11832.js → flip-tabs.entry.d3d9f791.js} +1 -1
  125. package/dist/{flip-tag.entry.cf4883c0.js → flip-tag.entry.8b80d408.js} +1 -1
  126. package/dist/{flip-text-input.entry.8f43f314.js → flip-text-input.entry.d1b0bb71.js} +1 -1
  127. package/dist/{flip-theme-provider.entry.8caabec5.js → flip-theme-provider.entry.2b2c55b9.js} +66 -61
  128. package/dist/{flip-thumbnail.entry.74a1dfea.js → flip-thumbnail.entry.4148adbc.js} +1 -1
  129. package/dist/{flip-toast-provider.entry.a0d95e39.js → flip-toast-provider.entry.729fe2a2.js} +1 -1
  130. package/dist/{flip-toast.entry.6c41e6ca.js → flip-toast.entry.7c89a88e.js} +1 -1
  131. package/dist/{flip-tooltip.entry.59fd00ad.js → flip-tooltip.entry.8392ec7f.js} +1 -1
  132. package/dist/{flip-tree-navigation-item.entry.aa09ffbd.js → flip-tree-navigation-item.entry.62f7ab3c.js} +1 -1
  133. package/dist/{flip-video-thumbnail.entry.254efcda.js → flip-video-thumbnail.entry.edc7cce0.js} +1 -1
  134. package/dist/{flip-visually-hidden.entry.718c553f.js → flip-visually-hidden.entry.69776f72.js} +1 -1
  135. package/dist/{index.b6a5163e.js → index.6f8c9509.js} +285 -275
  136. package/dist/stencil-generated/index.d.ts +10 -0
  137. package/dist/swirl-components-react.js +135 -125
  138. package/dist/swirl-components-react.umd.cjs +34 -34
  139. package/package.json +2 -2
@@ -1,94 +1,94 @@
1
- import { r as C, h as b, H } from "./index.b6a5163e.js";
1
+ import { r as j, c as E, h as w, H } from "./index.6f8c9509.js";
2
2
  import "react";
3
3
  import "react-dom";
4
- function h(e, t, n) {
5
- return Math.min(Math.max(e, n), t);
4
+ function d(e, t, o) {
5
+ return Math.min(Math.max(e, o), t);
6
6
  }
7
7
  class P extends Error {
8
8
  constructor(t) {
9
9
  super(`Failed to parse color: "${t}"`);
10
10
  }
11
11
  }
12
- var g = P;
13
- function j(e) {
12
+ var _ = P;
13
+ function C(e) {
14
14
  if (typeof e != "string")
15
- throw new g(e);
15
+ throw new _(e);
16
16
  if (e.trim().toLowerCase() === "transparent")
17
17
  return [0, 0, 0, 0];
18
18
  let t = e.trim();
19
- t = I.test(e) ? q(e) : e;
20
- const n = M.exec(t);
21
- if (n) {
22
- const a = Array.from(n).slice(1);
23
- return [...a.slice(0, 3).map((i) => parseInt(u(i, 2), 16)), parseInt(u(a[3] || "f", 2), 16) / 255];
24
- }
19
+ t = O.test(e) ? M(e) : e;
25
20
  const o = A.exec(t);
26
21
  if (o) {
27
22
  const a = Array.from(o).slice(1);
23
+ return [...a.slice(0, 3).map((i) => parseInt(u(i, 2), 16)), parseInt(u(a[3] || "f", 2), 16) / 255];
24
+ }
25
+ const n = F.exec(t);
26
+ if (n) {
27
+ const a = Array.from(n).slice(1);
28
28
  return [...a.slice(0, 3).map((i) => parseInt(i, 16)), parseInt(a[3] || "ff", 16) / 255];
29
29
  }
30
- const r = F.exec(t);
30
+ const r = R.exec(t);
31
31
  if (r) {
32
32
  const a = Array.from(r).slice(1);
33
33
  return [...a.slice(0, 3).map((i) => parseInt(i, 10)), parseFloat(a[3] || "1")];
34
34
  }
35
- const s = R.exec(t);
35
+ const s = I.exec(t);
36
36
  if (s) {
37
- const [a, i, c, d] = Array.from(s).slice(1).map(parseFloat);
38
- if (h(0, 100, i) !== i)
39
- throw new g(e);
40
- if (h(0, 100, c) !== c)
41
- throw new g(e);
42
- return [...O(a, i, c), d || 1];
43
- }
44
- throw new g(e);
37
+ const [a, i, h, c] = Array.from(s).slice(1).map(parseFloat);
38
+ if (d(0, 100, i) !== i)
39
+ throw new _(e);
40
+ if (d(0, 100, h) !== h)
41
+ throw new _(e);
42
+ return [...L(a, i, h), c || 1];
43
+ }
44
+ throw new _(e);
45
45
  }
46
46
  function $(e) {
47
- let t = 5381, n = e.length;
48
- for (; n; )
49
- t = t * 33 ^ e.charCodeAt(--n);
47
+ let t = 5381, o = e.length;
48
+ for (; o; )
49
+ t = t * 33 ^ e.charCodeAt(--o);
50
50
  return (t >>> 0) % 2341;
51
51
  }
52
- const w = (e) => parseInt(e.replace(/_/g, ""), 36), E = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e, t) => {
53
- const n = w(t.substring(0, 3)), o = w(t.substring(3)).toString(16);
52
+ const b = (e) => parseInt(e.replace(/_/g, ""), 36), q = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e, t) => {
53
+ const o = b(t.substring(0, 3)), n = b(t.substring(3)).toString(16);
54
54
  let r = "";
55
- for (let s = 0; s < 6 - o.length; s++)
55
+ for (let s = 0; s < 6 - n.length; s++)
56
56
  r += "0";
57
- return e[n] = `${r}${o}`, e;
57
+ return e[o] = `${r}${n}`, e;
58
58
  }, {});
59
- function q(e) {
60
- const t = e.toLowerCase().trim(), n = E[$(t)];
61
- if (!n)
62
- throw new g(e);
63
- return `#${n}`;
59
+ function M(e) {
60
+ const t = e.toLowerCase().trim(), o = q[$(t)];
61
+ if (!o)
62
+ throw new _(e);
63
+ return `#${o}`;
64
64
  }
65
- const u = (e, t) => Array.from(Array(t)).map(() => e).join(""), M = new RegExp(`^#${u("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), A = new RegExp(`^#${u("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), F = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${u(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), R = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i, I = /^[a-z]+$/i, z = (e) => Math.round(e * 255), O = (e, t, n) => {
66
- let o = n / 100;
65
+ const u = (e, t) => Array.from(Array(t)).map(() => e).join(""), A = new RegExp(`^#${u("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), F = new RegExp(`^#${u("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), R = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${u(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), I = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i, O = /^[a-z]+$/i, z = (e) => Math.round(e * 255), L = (e, t, o) => {
66
+ let n = o / 100;
67
67
  if (t === 0)
68
- return [o, o, o].map(z);
69
- const r = (e % 360 + 360) % 360 / 60, s = (1 - Math.abs(2 * o - 1)) * (t / 100), a = s * (1 - Math.abs(r % 2 - 1));
70
- let i = 0, c = 0, d = 0;
71
- r >= 0 && r < 1 ? (i = s, c = a) : r >= 1 && r < 2 ? (i = a, c = s) : r >= 2 && r < 3 ? (c = s, d = a) : r >= 3 && r < 4 ? (c = a, d = s) : r >= 4 && r < 5 ? (i = a, d = s) : r >= 5 && r < 6 && (i = s, d = a);
72
- const l = o - s / 2, m = i + l, f = c + l, y = d + l;
73
- return [m, f, y].map(z);
68
+ return [n, n, n].map(z);
69
+ const r = (e % 360 + 360) % 360 / 60, s = (1 - Math.abs(2 * n - 1)) * (t / 100), a = s * (1 - Math.abs(r % 2 - 1));
70
+ let i = 0, h = 0, c = 0;
71
+ r >= 0 && r < 1 ? (i = s, h = a) : r >= 1 && r < 2 ? (i = a, h = s) : r >= 2 && r < 3 ? (h = s, c = a) : r >= 3 && r < 4 ? (h = a, c = s) : r >= 4 && r < 5 ? (i = a, c = s) : r >= 5 && r < 6 && (i = s, c = a);
72
+ const l = n - s / 2, m = i + l, f = h + l, v = c + l;
73
+ return [m, f, v].map(z);
74
74
  };
75
- function v(e) {
76
- const [t, n, o, r] = j(e).map((m, f) => f === 3 ? m : m / 255), s = Math.max(t, n, o), a = Math.min(t, n, o), i = (s + a) / 2;
75
+ function y(e) {
76
+ const [t, o, n, r] = C(e).map((m, f) => f === 3 ? m : m / 255), s = Math.max(t, o, n), a = Math.min(t, o, n), i = (s + a) / 2;
77
77
  if (s === a)
78
78
  return [0, 0, i, r];
79
- const c = s - a, d = i > 0.5 ? c / (2 - s - a) : c / (s + a);
80
- return [60 * (t === s ? (n - o) / c + (n < o ? 6 : 0) : n === s ? (o - t) / c + 2 : (t - n) / c + 4), d, i, r];
79
+ const h = s - a, c = i > 0.5 ? h / (2 - s - a) : h / (s + a);
80
+ return [60 * (t === s ? (o - n) / h + (o < n ? 6 : 0) : o === s ? (n - t) / h + 2 : (t - o) / h + 4), c, i, r];
81
81
  }
82
- function p(e, t, n, o) {
83
- return `hsla(${(e % 360).toFixed()}, ${h(0, 100, t * 100).toFixed()}%, ${h(0, 100, n * 100).toFixed()}%, ${parseFloat(h(0, 1, o).toFixed(3))})`;
82
+ function g(e, t, o, n) {
83
+ return `hsla(${(e % 360).toFixed()}, ${d(0, 100, t * 100).toFixed()}%, ${d(0, 100, o * 100).toFixed()}%, ${parseFloat(d(0, 1, n).toFixed(3))})`;
84
84
  }
85
- function L(e, t, n, o) {
86
- return `rgba(${h(0, 255, e).toFixed()}, ${h(0, 255, t).toFixed()}, ${h(0, 255, n).toFixed()}, ${parseFloat(h(0, 1, o).toFixed(3))})`;
85
+ function B(e, t, o, n) {
86
+ return `rgba(${d(0, 255, e).toFixed()}, ${d(0, 255, t).toFixed()}, ${d(0, 255, o).toFixed()}, ${parseFloat(d(0, 1, n).toFixed(3))})`;
87
87
  }
88
- function _(e) {
89
- return L(...j(e));
88
+ function p(e) {
89
+ return B(...C(e));
90
90
  }
91
- const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme", k = {
91
+ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme", T = {
92
92
  "--s-action-primary-default": "primary",
93
93
  "--s-action-primary-hovered": "primaryHovered",
94
94
  "--s-action-primary-pressed": "primaryPressed",
@@ -104,9 +104,9 @@ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme"
104
104
  "--s-interactive-primary-default": "text",
105
105
  "--s-interactive-primary-hovered": "textHovered",
106
106
  "--s-interactive-primary-pressed": "textPressed"
107
- }, B = class {
107
+ }, D = class {
108
108
  constructor(e) {
109
- C(this, e);
109
+ j(this, e), this.themeChange = E(this, "themeChange", 7);
110
110
  }
111
111
  componentWillLoad() {
112
112
  this.resolveConfig(), this.determineOSTheme(), this.updateAppTheme();
@@ -143,6 +143,11 @@ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme"
143
143
  }
144
144
  async updateAppTheme() {
145
145
  this.appTheme = await this.getPreferredTheme() || this.osTheme, this.appTheme === "dark" ? (document.documentElement.classList.remove("theme-light"), document.documentElement.classList.add("theme-dark")) : (document.documentElement.classList.remove("theme-dark"), document.documentElement.classList.add("theme-light")), this.updateTenantVariables();
146
+ const e = {
147
+ activeTheme: await this.getActiveTheme(),
148
+ preferredTheme: await this.getPreferredTheme()
149
+ };
150
+ (!Boolean(this.recentThemeChangeEventData) || e.activeTheme !== this.recentThemeChangeEventData.activeTheme || e.preferredTheme !== this.recentThemeChangeEventData.preferredTheme) && (this.recentThemeChangeEventData = e, this.themeChange.emit(this.recentThemeChangeEventData));
146
151
  }
147
152
  updateTenantVariables() {
148
153
  var e;
@@ -151,13 +156,13 @@ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme"
151
156
  this.resetTenantVariables();
152
157
  return;
153
158
  }
154
- const n = this.resolvedConfig.rootElement, o = v(t.primary), r = v(t.secondary), s = v(t.text), a = _(p(o[0], o[1] - 0.21, o[2] + 0.09, 1)), i = _(p(o[0], o[1] - 0.2, o[2] + 0.17, 1)), c = _(p(r[0], r[1], r[2] + 0.07, 1)), d = _(p(r[0], r[1], r[2] + 0.15, 1)), l = _(p(s[0], s[1] - 0.34, s[2] + 0.1, 1)), m = _(p(s[0], s[1] - 0.48, s[2] + 0.2, 1)), f = Object.assign(Object.assign({}, t), { primaryHovered: a, primaryPressed: i, secondaryHovered: c, secondaryPressed: d, textHovered: l, textPressed: m });
155
- Object.entries(k).forEach(([y, T]) => n.style.setProperty(y, f[T]));
159
+ const o = this.resolvedConfig.rootElement, n = y(t.primary), r = y(t.secondary), s = y(t.text), a = p(g(n[0], n[1] - 0.21, n[2] + 0.09, 1)), i = p(g(n[0], n[1] - 0.2, n[2] + 0.17, 1)), h = p(g(r[0], r[1], r[2] + 0.07, 1)), c = p(g(r[0], r[1], r[2] + 0.15, 1)), l = p(g(s[0], s[1] - 0.34, s[2] + 0.1, 1)), m = p(g(s[0], s[1] - 0.48, s[2] + 0.2, 1)), f = Object.assign(Object.assign({}, t), { primaryHovered: a, primaryPressed: i, secondaryHovered: h, secondaryPressed: c, textHovered: l, textPressed: m });
160
+ Object.entries(T).forEach(([v, k]) => o.style.setProperty(v, f[k]));
156
161
  }
157
162
  resetTenantVariables() {
158
163
  const e = this.resolvedConfig.rootElement;
159
164
  [
160
- ...Object.keys(k),
165
+ ...Object.keys(T),
161
166
  "primaryHovered",
162
167
  "primaryPressed",
163
168
  "secondaryHovered",
@@ -167,7 +172,7 @@ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme"
167
172
  ].forEach((t) => e.style.removeProperty(t));
168
173
  }
169
174
  render() {
170
- return b(H, null, b("slot", null));
175
+ return w(H, null, w("slot", null));
171
176
  }
172
177
  static get watchers() {
173
178
  return {
@@ -175,7 +180,7 @@ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme"
175
180
  };
176
181
  }
177
182
  };
178
- B.style = S;
183
+ D.style = S;
179
184
  export {
180
- B as flip_theme_provider
185
+ D as flip_theme_provider
181
186
  };
@@ -1,4 +1,4 @@
1
- import { r as t, h as a, H as s } from "./index.b6a5163e.js";
1
+ import { r as t, h as a, H as s } from "./index.6f8c9509.js";
2
2
  import { c as l } from "./index-6d2e18c6.289636d4.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r, h as a, H as e } from "./index.b6a5163e.js";
1
+ import { r, h as a, H as e } from "./index.6f8c9509.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const l = class {
@@ -1,4 +1,4 @@
1
- import { r as i, c as a, h as t, H as e } from "./index.b6a5163e.js";
1
+ import { r as i, c as a, h as t, H as e } from "./index.6f8c9509.js";
2
2
  import { c as o } from "./index-6d2e18c6.289636d4.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as n, h as o, H as l } from "./index.b6a5163e.js";
1
+ import { r as n, h as o, H as l } from "./index.6f8c9509.js";
2
2
  import { c as r, o as p, s as h, f as d } from "./floating-ui.dom.esm-1a4e8b8a.87557233.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as i, h as a, H as s, g as r } from "./index.b6a5163e.js";
1
+ import { r as i, h as a, H as s, g as r } from "./index.6f8c9509.js";
2
2
  import { c as o } from "./index-6d2e18c6.289636d4.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as t, h as n, H as e } from "./index.b6a5163e.js";
1
+ import { r as t, h as n, H as e } from "./index.6f8c9509.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const a = `:host {
@@ -1,4 +1,4 @@
1
- import { r, h as i, H as l } from "./index.b6a5163e.js";
1
+ import { r, h as i, H as l } from "./index.6f8c9509.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const t = ":host{position:absolute;display:inline;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal;clip:rect(0, 0, 0, 0)}", o = class {