@saasquatch/mint-components 1.3.2-3 → 1.3.2-7

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 (77) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/sqm-big-stat.cjs.entry.js +1 -1
  4. package/dist/cjs/{sqm-divided-layout_27.cjs.entry.js → sqm-divided-layout_28.cjs.entry.js} +944 -369
  5. package/dist/cjs/{useDemoBigStat-17e61803.js → useDemoBigStat-051a69f7.js} +116 -20
  6. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +8 -1
  7. package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +3 -0
  8. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -1
  9. package/dist/collection/components/sqm-big-stat/useBigStat.js +115 -20
  10. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +1 -0
  11. package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +5 -14
  12. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +5 -4
  13. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +55 -43
  14. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +2 -1
  15. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +2 -1
  16. package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +3 -1
  17. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -0
  18. package/dist/collection/components/sqm-task-card/SVGs.js +0 -6
  19. package/dist/collection/components/sqm-task-card/TaskCard.stories.js +74 -243
  20. package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +41 -0
  21. package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +7 -0
  22. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +311 -0
  23. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar.stories.js +53 -0
  24. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +15 -309
  25. package/dist/collection/components/sqm-task-card/sqm-task-card.js +108 -48
  26. package/dist/collection/stories/NewPortal.stories.js +15 -15
  27. package/dist/esm/loader.js +1 -1
  28. package/dist/esm/mint-components.js +1 -1
  29. package/dist/esm/sqm-big-stat.entry.js +1 -1
  30. package/dist/esm/{sqm-divided-layout_27.entry.js → sqm-divided-layout_28.entry.js} +908 -334
  31. package/dist/esm/{useDemoBigStat-b71fe122.js → useDemoBigStat-95889548.js} +116 -20
  32. package/dist/esm-es5/loader.js +1 -1
  33. package/dist/esm-es5/mint-components.js +1 -1
  34. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  35. package/dist/esm-es5/sqm-divided-layout_28.entry.js +1 -0
  36. package/dist/esm-es5/useDemoBigStat-95889548.js +1 -0
  37. package/dist/mint-components/mint-components.esm.js +1 -1
  38. package/dist/mint-components/mint-components.js +1 -1
  39. package/dist/mint-components/p-0faf1857.system.js +1 -0
  40. package/dist/mint-components/{p-e22eed7b.entry.js → p-1d445125.entry.js} +1 -1
  41. package/dist/mint-components/p-32b27a5c.system.entry.js +1 -0
  42. package/dist/mint-components/p-91d39961.system.js +1 -1
  43. package/dist/mint-components/{p-c9c4f31b.system.entry.js → p-b2633117.system.entry.js} +1 -1
  44. package/dist/mint-components/p-b6e6be5e.js +235 -0
  45. package/dist/mint-components/p-f1953bd7.entry.js +288 -0
  46. package/dist/types/components/sqm-big-stat/UseBigStat.stories.d.ts +6 -0
  47. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +1 -0
  48. package/dist/types/components/sqm-big-stat/useBigStat.d.ts +4 -1
  49. package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +1 -0
  50. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +1 -0
  51. package/dist/types/components/sqm-task-card/SVGs.d.ts +0 -1
  52. package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +3 -1
  53. package/dist/types/components/sqm-task-card/UseTaskCard.stories.d.ts +10 -0
  54. package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +1 -0
  55. package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +9 -0
  56. package/dist/types/components/sqm-task-card/progress-bar/progress-bar.stories.d.ts +12 -0
  57. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +13 -22
  58. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +25 -13
  59. package/dist/types/components.d.ts +48 -34
  60. package/grapesjs/grapesjs.js +1 -1
  61. package/package.json +1 -1
  62. package/dist/cjs/sqm-task-card-view-57066e67.js +0 -476
  63. package/dist/cjs/sqm-task-card.cjs.entry.js +0 -56
  64. package/dist/esm/sqm-task-card-view-2ee495af.js +0 -474
  65. package/dist/esm/sqm-task-card.entry.js +0 -52
  66. package/dist/esm-es5/sqm-divided-layout_27.entry.js +0 -1
  67. package/dist/esm-es5/sqm-task-card-view-2ee495af.js +0 -1
  68. package/dist/esm-es5/sqm-task-card.entry.js +0 -1
  69. package/dist/esm-es5/useDemoBigStat-b71fe122.js +0 -1
  70. package/dist/mint-components/p-1e248afc.system.entry.js +0 -1
  71. package/dist/mint-components/p-353b4413.system.js +0 -1
  72. package/dist/mint-components/p-405a9253.js +0 -227
  73. package/dist/mint-components/p-4cc79fb9.entry.js +0 -288
  74. package/dist/mint-components/p-8c605e30.system.entry.js +0 -1
  75. package/dist/mint-components/p-8f5e2af4.entry.js +0 -1
  76. package/dist/mint-components/p-e78a5a91.js +0 -1
  77. package/dist/mint-components/p-f87d8f53.system.js +0 -1
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { CheckMark } from "./SVGs";
2
3
  function Dot({ active, completed, incomplete, }) {
3
4
  return (h("div", { style: {
4
5
  flex: "0 0 0",
@@ -23,12 +24,12 @@ function Dot({ active, completed, incomplete, }) {
23
24
  ? "2px solid #E5E5E5"
24
25
  : "none",
25
26
  borderRadius: "50%",
26
- width: completed ? "12px" : "8px",
27
- height: completed ? "12px" : "8px",
28
- margin: "-4px auto 0px",
27
+ width: completed ? "14px" : "10px",
28
+ height: completed ? "14px" : "10px",
29
+ margin: "-5px auto 0px",
29
30
  zIndex: "1",
30
31
  boxSizing: "content-box",
31
- } })));
32
+ } }, completed && h(CheckMark, null))));
32
33
  }
33
34
  function ProgressLine({ incomplete = false, active = false }) {
34
35
  return (h("div", { style: {
@@ -21,29 +21,33 @@ export function RewardExchangeView(props) {
21
21
  },
22
22
  },
23
23
  Base: {
24
- display: "block",
24
+ display: "flex",
25
25
  cursor: "pointer",
26
26
  textAlign: "center",
27
+ height: "120px",
27
28
  "&::part(base)": {
28
29
  width: "100%",
29
- height: "170px",
30
+ maxWidth: "350px",
30
31
  display: "flex",
31
- justifyContent: "space-between",
32
- alignItems: "center",
32
+ margin: "0 auto",
33
33
  },
34
34
  "&::part(body)": {
35
- padding: "10px 0",
35
+ padding: 0,
36
+ display: "flex",
37
+ width: "100%",
36
38
  },
37
39
  },
38
40
  Drawer: {
39
41
  "&::part(base)": {
40
42
  minWidth: "400px",
43
+ maxWidth: "700px",
41
44
  width: "50%",
42
45
  margin: "0 auto",
43
46
  right: "0",
44
47
  },
45
48
  "&::part(panel)": {
46
49
  height: "85vh",
50
+ width: "100%",
47
51
  },
48
52
  },
49
53
  FullImage: {
@@ -53,8 +57,9 @@ export function RewardExchangeView(props) {
53
57
  },
54
58
  PreviewImage: {
55
59
  objectFit: "contain",
56
- maxWidth: "100%",
57
- height: "75px",
60
+ width: "120px",
61
+ height: "120px",
62
+ flex: 0.33,
58
63
  },
59
64
  InputBox: {
60
65
  width: "100%",
@@ -69,8 +74,9 @@ export function RewardExchangeView(props) {
69
74
  },
70
75
  },
71
76
  Buttons: {
72
- bottom: "0",
77
+ marginLeft: "auto",
73
78
  width: "100%",
79
+ maxWidth: "300px",
74
80
  },
75
81
  Button: {
76
82
  margin: "10px 0",
@@ -104,8 +110,9 @@ export function RewardExchangeView(props) {
104
110
  });
105
111
  } }, (_b = item.steps) === null || _b === void 0 ? void 0 : _b.map((step) => (h("sl-menu-item", { value: step, disabled: !step.available },
106
112
  step.prettyDestinationValue,
107
- h("div", { slot: "suffix", style: { fontSize: "75%", float: "right" } }, step.prettySourceValue),
108
- step.unavailableReasonCode && (h("p", { style: { fontSize: "70%", color: "#F2994A" } }, step.unavailableReasonCode)))))));
113
+ h("div", { slot: "suffix", style: { fontSize: "75%", float: "right" } },
114
+ step.prettySourceValue,
115
+ step.unavailableReasonCode && (h("p", { style: { fontSize: "70%", color: "#F2994A" } }, step.unavailableReasonCode))))))));
109
116
  }
110
117
  function chooseReward() {
111
118
  var _a;
@@ -113,41 +120,40 @@ export function RewardExchangeView(props) {
113
120
  ? "confirmation"
114
121
  : "chooseAmount";
115
122
  console.log({ nextStage, ruleType: selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.ruleType });
116
- return (h("div", { style: {
117
- display: "flex",
118
- justifyContent: "center",
119
- flexWrap: "wrap",
120
- alignItems: "center",
121
- columnGap: "12px",
122
- rowGap: "12px",
123
- } }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 :
124
- _a.map((item) => {
123
+ return [
124
+ h("div", { style: {
125
+ display: "grid",
126
+ justifyContent: "center",
127
+ gap: "20px",
128
+ gridTemplateColumns: "repeat(auto-fill, minmax(220px, 1fr))",
129
+ } }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
125
130
  const style = {
126
131
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key) ? "0 1px 8px #87ceeb" : "none",
127
132
  marginBottom: "10px 0",
128
133
  flex: "1",
129
134
  minWidth: "100%",
130
135
  color: !item.available && "#eee",
131
- "&:hover": {
132
- boxShadow: !item.available && "none",
133
- },
134
136
  };
135
- return (h("div", { key: item.key, class: sheet.classes.CardContainer,
136
- //@ts-ignore
137
- style: style },
137
+ const amount = item.ruleType === "FIXED_GLOBAL_REWARD"
138
+ ? item.prettySourceValue
139
+ : `${item.sourceMinValue} to ${item.sourceMaxValue} ${item.sourceUnit}`;
140
+ return (h("div", { key: item.key, class: item.available ? sheet.classes.CardContainer : "", style: style },
138
141
  h("sl-card", { class: sheet.classes.Base, onClick: () => item.available &&
139
142
  callbacks.setExchangeState({ selectedItem: item }) },
140
- h("img", { class: sheet.classes.PreviewImage, src: (item === null || item === void 0 ? void 0 : item.imageUrl) || getAssetPath("./assets/Reward-icon.png") }),
141
- h("p", { style: { marginBottom: "0" } }, item.description),
142
- item.unavailableReasonCode && (h("p", { style: {
143
- fontSize: "70%",
144
- color: "#F2994A",
145
- marginTop: "0",
146
- } }, item.unavailableReasonCode)))));
147
- }),
143
+ (item === null || item === void 0 ? void 0 : item.imageUrl) && (h("img", { class: sheet.classes.PreviewImage, src: (item === null || item === void 0 ? void 0 : item.imageUrl) || getAssetPath("./assets/Reward-icon.png") })),
144
+ h("p", { style: { margin: "0", flex: "1", fontSize: "90%" } },
145
+ h("b", null, item.description),
146
+ h("p", { style: { margin: "0" } }, amount),
147
+ item.unavailableReasonCode && (h("p", { style: {
148
+ fontSize: "70%",
149
+ color: "#F2994A",
150
+ marginTop: "0",
151
+ } }, item.unavailableReasonCode))))));
152
+ })),
148
153
  h("div", { class: sheet.classes.Buttons },
149
154
  h("sl-button", { onClick: () => callbacks.setStage(nextStage), style: { display: "block" }, class: sheet.classes.Button, disabled: !states.selectedItem }, "Continue"),
150
- h("a", { onClick: () => { var _a; return (_a = refs.drawerRef.current) === null || _a === void 0 ? void 0 : _a.hide(); }, style: { display: "block" }, class: sheet.classes.Button }, "Cancel"))));
155
+ h("a", { onClick: () => { var _a; return (_a = refs.drawerRef.current) === null || _a === void 0 ? void 0 : _a.hide(); }, style: { display: "block" }, class: sheet.classes.Button }, "Cancel")),
156
+ ];
151
157
  }
152
158
  function chooseAmount() {
153
159
  const input = getInput();
@@ -167,14 +173,20 @@ export function RewardExchangeView(props) {
167
173
  return (h("div", null,
168
174
  h("h2", null, "Confirm and redeem"),
169
175
  h("div", { style: { textAlign: "center" } },
170
- h("p", null,
171
- h("b", null, selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.sourceValue)),
172
176
  h("p", null,
173
177
  h("b", null, selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue)),
174
178
  h("p", null,
175
179
  h(ExchangeArrows, null)),
176
- h("p", null, selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.destinationValue),
177
- h("p", null, selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue)),
180
+ h("div", { class: sheet.classes.CardContainer, style: {
181
+ boxShadow: "none",
182
+ marginBottom: "10px",
183
+ flex: "1",
184
+ minWidth: "100%",
185
+ } },
186
+ h("sl-card", { class: sheet.classes.Base },
187
+ h("img", { class: sheet.classes.PreviewImage, src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
188
+ getAssetPath("./assets/Reward-icon.png") }),
189
+ h("p", { style: { marginBottom: "0", flex: "1" } }, selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue)))),
178
190
  h("div", { class: sheet.classes.Buttons },
179
191
  h("sl-button", { onClick: callbacks.exchangeReward, style: { display: "block" }, class: sheet.classes.Button }, "Redeem"),
180
192
  h("a", { onClick: () => callbacks.setStage(previousStage), style: { display: "block" }, class: sheet.classes.Button }, "Back"))));
@@ -195,22 +207,22 @@ export function RewardExchangeView(props) {
195
207
  const currentStage = stages[states.redeemStage];
196
208
  function stageMap() {
197
209
  const stageNumber = stageList.indexOf(states.redeemStage);
198
- return (h("div", { style: { fontSize: "80%" } },
199
- h(ProgressBar, { stageCount: 3, currentStage: stageNumber }),
210
+ return (h("div", { style: { fontSize: "80%", marginBottom: "20px" } },
200
211
  h("div", { style: {
201
212
  marginTop: "5px",
202
213
  display: "flex",
203
214
  justifyContent: "center",
204
215
  textAlign: "center",
205
216
  whiteSpace: "nowrap",
206
- marginBottom: "10px",
217
+ marginBottom: "6px",
207
218
  } }, Object.keys(stageProgressList).map((stage) => {
208
219
  if (stage === states.redeemStage)
209
220
  return (h("b", { style: { flex: "1 1 0" } },
210
221
  " ",
211
222
  stageProgressList[stage]));
212
223
  return h("i", { style: { flex: "1 1 0" } }, stageProgressList[stage]);
213
- }))));
224
+ })),
225
+ h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
214
226
  }
215
227
  const BackButton = () => {
216
228
  if (states.redeemStage === "success")
@@ -239,5 +251,5 @@ export function RewardExchangeView(props) {
239
251
  currentStage && currentStage(),
240
252
  states.exchangeError &&
241
253
  "Something went wrong. Please contact support or try again."),
242
- h("sl-button", { onClick: () => callbacks.openDrawer() }, "Redeem Rewards"))));
254
+ h("sl-button", { loading: states.loading, onClick: () => callbacks.openDrawer() }, "Redeem Rewards"))));
243
255
  }
@@ -63,7 +63,7 @@ export class SqmRewardExchangeList {
63
63
  "mutable": false,
64
64
  "complexType": {
65
65
  "original": "DemoData<RewardExchangeViewProps>",
66
- "resolved": "{ states?: { selectedItem: ExchangeItem; selectedStep: ExchangeStep; redeemStage: string; amount: number; exchangeError?: boolean; content: { text: any; }; }; data?: { exchangeList: any; }; refs?: { drawerRef: any; }; }",
66
+ "resolved": "{ states?: { selectedItem: ExchangeItem; selectedStep: ExchangeStep; redeemStage: string; amount: number; exchangeError?: boolean; loading: boolean; content: { text: any; }; }; data?: { exchangeList: any; }; refs?: { drawerRef: any; }; }",
67
67
  "references": {
68
68
  "DemoData": {
69
69
  "location": "import",
@@ -103,6 +103,7 @@ function useRewardExchangeListDemo(props) {
103
103
  amount: 0,
104
104
  selectedStep: undefined,
105
105
  exchangeError: false,
106
+ loading: false,
106
107
  },
107
108
  data: {
108
109
  shareCode: "SHARECODE123",
@@ -69,7 +69,7 @@ export function useRewardExchangeList(props) {
69
69
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
70
70
  const user = useUserIdentity();
71
71
  const [exchange, { data: exchangeResponse, errors }] = useMutation(EXCHANGE);
72
- const { data } = useQuery(GET_EXCHANGE_LIST, !(user === null || user === void 0 ? void 0 : user.jwt));
72
+ const { data, loading } = useQuery(GET_EXCHANGE_LIST, !(user === null || user === void 0 ? void 0 : user.jwt));
73
73
  useEffect(() => {
74
74
  var _a, _b;
75
75
  if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
@@ -178,6 +178,7 @@ export function useRewardExchangeList(props) {
178
178
  amount,
179
179
  selectedStep,
180
180
  exchangeError,
181
+ loading,
181
182
  },
182
183
  data: {
183
184
  exchangeList: (_b = (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.visibleRewardExchangeItems) === null || _b === void 0 ? void 0 : _b.data,
@@ -13,6 +13,8 @@ export const CucumberAddon = ({ story }, children) => {
13
13
  // No scenario or invalid. Ignoring.
14
14
  }
15
15
  return (h("div", null,
16
- result && h("pre", { innerHTML: result.value }),
16
+ h("details", null,
17
+ h("summary", null, "Specs"),
18
+ result && h("pre", { innerHTML: result.value })),
17
19
  children));
18
20
  };
@@ -16,6 +16,7 @@ import * as UseEditProfile from "../sqm-edit-profile/UseEditProfile.stories";
16
16
  import * as UseLeaderboard from "../sqm-leaderboard/UseLeaderboard.stories";
17
17
  import * as FormMessage from "../sqm-form-message/FormMessage.stories";
18
18
  import * as UseRewardExchangeList from "../sqm-reward-exchange-list/UseRewardExchangeList.stories";
19
+ import * as UseTaskCard from "../sqm-task-card/UseTaskCard.stories";
19
20
  import * as NewPortal from "../../stories/NewPortal.stories";
20
21
  import * as SidebarItem from "../sqm-navigation-sidebar-item/SidebarItem.stories";
21
22
  import * as NavigationSidebar from "../sqm-navigation-sidebar/NavigationSidebar.stories";
@@ -35,6 +36,7 @@ import * as ReferralTableRewardsCell from "../sqm-referral-table/ReferralTableRe
35
36
  import * as UserName from "../sqm-user-name/UserName.stories";
36
37
  import * as PasswordField from "../sqm-password-field/PasswordField.stories";
37
38
  import * as TaskCard from "../sqm-task-card/TaskCard.stories";
39
+ import * as TaskCardProgressBar from "../sqm-task-card/progress-bar/progress-bar.stories";
38
40
  import * as PortalTemplates from "../../stories/PortalTemplates.stories";
39
41
  import * as ProgramMenu from "../sqm-program-menu/ProgramMenu.stories";
40
42
  import * as PoweredByImg from "../../stories/PoweredByImg.stories";
@@ -79,6 +81,7 @@ const stories = [
79
81
  UserName,
80
82
  PasswordField,
81
83
  TaskCard,
84
+ TaskCardProgressBar,
82
85
  PortalTemplates,
83
86
  ProgramMenu,
84
87
  PoweredByImg,
@@ -87,6 +90,7 @@ const stories = [
87
90
  ReferralIframe,
88
91
  NameFields,
89
92
  UseRewardExchangeList,
93
+ UseTaskCard,
90
94
  ];
91
95
  /**
92
96
  * For internal documentation
@@ -7,9 +7,3 @@ export const arrow_left_right = () => {
7
7
  return (h("svg", { width: 11, height: 12, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
8
8
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
9
9
  };
10
- export const gift = () => {
11
- return (h("svg", { width: 16, height: 16, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
12
- h("path", { d: "M15 5H9v11h4.5a1 1 0 001-1V9h.5a1 1 0 001-1V6a1 1 0 00-1-1zM1.5 9v6a1 1 0 001 1H7V5H1a1 1 0 00-1 1v2a1 1 0 001 1h.5z", fill: "var(--sl-color-primary-200)" }),
13
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.5 9v1h13V9h-13z", fill: "var(--sl-color-primary-300)" }),
14
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.71c0 .886-1.33 2.227-2 2.29H9v11H7.002V5H4.588C3.212 4.702 2 3.645 2 2.52 2 1.426 2.476.558 3.342.183 4.169-.176 5.125.02 5.88.545c.927.643 1.447 1.851 1.919 2.947l.123.286.12-.272C8.51 2.45 9.045 1.243 9.94.596c.793-.573 1.801-.79 2.672-.397.9.405 1.388 1.336 1.388 2.51zM10.612 1.5c.48-.347 1.056-.41 1.548 0 .428.357.45.525.506.93l.01.07c0 .599-.516 1.5-1.032 1.5-.366 0-.653-.003-.922-.006-.49-.005-.92-.01-1.657.006.14-.272.252-.533.36-.782.285-.667.534-1.246 1.187-1.718zm-5.673 0c-.233-.161-.766-.09-.987.006-.183.08-.456.32-.456 1.015 0 .674 1.092 1.257 1.092 1.257S5.454 4 7.002 4c-.527-1.305-1.273-1.951-2.063-2.5z", fill: "var(--sl-color-primary-600)" })));
15
- };