@okshaun/components 4.1.1 → 4.1.3

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.
@@ -1088,51 +1088,147 @@
1088
1088
  "deprecated": false
1089
1089
  },
1090
1090
  "chevron-down": {
1091
- "aliases": [],
1091
+ "aliases": [
1092
+ "chevron",
1093
+ "directional",
1094
+ "pointer",
1095
+ "pointing",
1096
+ "arrowhead",
1097
+ "arrows",
1098
+ "stroke",
1099
+ "down",
1100
+ "expand",
1101
+ "open"
1102
+ ],
1092
1103
  "tags": [],
1093
- "category": null,
1104
+ "category": "Arrows",
1094
1105
  "deprecated": false
1095
1106
  },
1096
1107
  "chevron-filled-down": {
1097
- "aliases": [],
1108
+ "aliases": [
1109
+ "chevron",
1110
+ "directional",
1111
+ "pointer",
1112
+ "pointing",
1113
+ "arrowhead",
1114
+ "arrows",
1115
+ "filled",
1116
+ "solid",
1117
+ "triangle",
1118
+ "down",
1119
+ "expand",
1120
+ "open"
1121
+ ],
1098
1122
  "tags": [],
1099
- "category": null,
1123
+ "category": "Arrows",
1100
1124
  "deprecated": false
1101
1125
  },
1102
1126
  "chevron-filled-left": {
1103
- "aliases": [],
1127
+ "aliases": [
1128
+ "chevron",
1129
+ "directional",
1130
+ "pointer",
1131
+ "pointing",
1132
+ "arrowhead",
1133
+ "arrows",
1134
+ "filled",
1135
+ "solid",
1136
+ "triangle",
1137
+ "left",
1138
+ "back",
1139
+ "previous"
1140
+ ],
1104
1141
  "tags": [],
1105
- "category": null,
1142
+ "category": "Arrows",
1106
1143
  "deprecated": false
1107
1144
  },
1108
1145
  "chevron-filled-right": {
1109
- "aliases": [],
1146
+ "aliases": [
1147
+ "chevron",
1148
+ "directional",
1149
+ "pointer",
1150
+ "pointing",
1151
+ "arrowhead",
1152
+ "arrows",
1153
+ "filled",
1154
+ "solid",
1155
+ "triangle",
1156
+ "right",
1157
+ "forward",
1158
+ "next"
1159
+ ],
1110
1160
  "tags": [],
1111
- "category": null,
1161
+ "category": "Arrows",
1112
1162
  "deprecated": false
1113
1163
  },
1114
1164
  "chevron-filled-up": {
1115
- "aliases": [],
1165
+ "aliases": [
1166
+ "chevron",
1167
+ "directional",
1168
+ "pointer",
1169
+ "pointing",
1170
+ "arrowhead",
1171
+ "arrows",
1172
+ "filled",
1173
+ "solid",
1174
+ "triangle",
1175
+ "up",
1176
+ "collapse",
1177
+ "close"
1178
+ ],
1116
1179
  "tags": [],
1117
- "category": null,
1180
+ "category": "Arrows",
1118
1181
  "deprecated": false
1119
1182
  },
1120
1183
  "chevron-left": {
1121
- "aliases": [],
1184
+ "aliases": [
1185
+ "chevron",
1186
+ "directional",
1187
+ "pointer",
1188
+ "pointing",
1189
+ "arrowhead",
1190
+ "arrows",
1191
+ "stroke",
1192
+ "left",
1193
+ "back",
1194
+ "previous"
1195
+ ],
1122
1196
  "tags": [],
1123
- "category": null,
1197
+ "category": "Arrows",
1124
1198
  "deprecated": false
1125
1199
  },
1126
1200
  "chevron-right": {
1127
- "aliases": [],
1201
+ "aliases": [
1202
+ "chevron",
1203
+ "directional",
1204
+ "pointer",
1205
+ "pointing",
1206
+ "arrowhead",
1207
+ "arrows",
1208
+ "stroke",
1209
+ "right",
1210
+ "forward",
1211
+ "next"
1212
+ ],
1128
1213
  "tags": [],
1129
- "category": null,
1214
+ "category": "Arrows",
1130
1215
  "deprecated": false
1131
1216
  },
1132
1217
  "chevron-up": {
1133
- "aliases": [],
1218
+ "aliases": [
1219
+ "chevron",
1220
+ "directional",
1221
+ "pointer",
1222
+ "pointing",
1223
+ "arrowhead",
1224
+ "arrows",
1225
+ "stroke",
1226
+ "up",
1227
+ "collapse",
1228
+ "close"
1229
+ ],
1134
1230
  "tags": [],
1135
- "category": null,
1231
+ "category": "Arrows",
1136
1232
  "deprecated": false
1137
1233
  },
1138
1234
  "circle": {
package/dist/index.js CHANGED
@@ -18,8 +18,8 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
18
18
  import * as React from "react";
19
19
  import React__default, { useLayoutEffect, forwardRef, useMemo, createElement, createContext, useContext, useRef, useEffect, useState, useCallback, Children, isValidElement, useId as useId$1, useSyncExternalStore, cloneElement, useReducer } from "react";
20
20
  import * as ReactDOM from "react-dom";
21
- import { c as containerSizes, b as breakpoints } from "./preset-DYHEi5di.js";
22
- import { o } from "./preset-DYHEi5di.js";
21
+ import { c as containerSizes, b as breakpoints } from "./preset-BOoMi8ge.js";
22
+ import { o } from "./preset-BOoMi8ge.js";
23
23
  function hasWindow() {
24
24
  return typeof window !== "undefined";
25
25
  }
@@ -6413,6 +6413,7 @@ const iconVariantMap = {
6413
6413
  "12",
6414
6414
  "14",
6415
6415
  "16",
6416
+ "18",
6416
6417
  "20",
6417
6418
  "22",
6418
6419
  "24",
@@ -10342,6 +10343,10 @@ const tokens = {
10342
10343
  "value": "1rem",
10343
10344
  "variable": "var(--oks-numeric-sizes-16)"
10344
10345
  },
10346
+ "numericSizes.18": {
10347
+ "value": "1.125rem",
10348
+ "variable": "var(--oks-numeric-sizes-18)"
10349
+ },
10345
10350
  "numericSizes.20": {
10346
10351
  "value": "1.25rem",
10347
10352
  "variable": "var(--oks-numeric-sizes-20)"
@@ -10618,6 +10623,10 @@ const tokens = {
10618
10623
  "value": "1rem",
10619
10624
  "variable": "var(--oks-sizes-16)"
10620
10625
  },
10626
+ "sizes.18": {
10627
+ "value": "1.125rem",
10628
+ "variable": "var(--oks-sizes-18)"
10629
+ },
10621
10630
  "sizes.20": {
10622
10631
  "value": "1.25rem",
10623
10632
  "variable": "var(--oks-sizes-20)"
@@ -10922,6 +10931,10 @@ const tokens = {
10922
10931
  "value": "1rem",
10923
10932
  "variable": "var(--oks-spacing-16)"
10924
10933
  },
10934
+ "spacing.18": {
10935
+ "value": "1.125rem",
10936
+ "variable": "var(--oks-spacing-18)"
10937
+ },
10925
10938
  "spacing.20": {
10926
10939
  "value": "1.25rem",
10927
10940
  "variable": "var(--oks-spacing-20)"
@@ -12158,6 +12171,10 @@ const tokens = {
12158
12171
  "value": "calc(var(--oks-spacing-16) * -1)",
12159
12172
  "variable": "var(--oks-spacing-16)"
12160
12173
  },
12174
+ "spacing.-18": {
12175
+ "value": "calc(var(--oks-spacing-18) * -1)",
12176
+ "variable": "var(--oks-spacing-18)"
12177
+ },
12161
12178
  "spacing.-20": {
12162
12179
  "value": "calc(var(--oks-spacing-20) * -1)",
12163
12180
  "variable": "var(--oks-spacing-20)"
@@ -15475,9 +15492,6 @@ const Button = (props) => {
15475
15492
  }
15476
15493
  );
15477
15494
  };
15478
- const renderIcon = (name) => {
15479
- return /* @__PURE__ */ jsx(Box, { className: classes.slot, children: /* @__PURE__ */ jsx(Icon, { name, "aria-hidden": true }) });
15480
- };
15481
15495
  return /* @__PURE__ */ jsxs(
15482
15496
  Box,
15483
15497
  {
@@ -15506,9 +15520,9 @@ const Button = (props) => {
15506
15520
  ...otherProps,
15507
15521
  children: [
15508
15522
  /* @__PURE__ */ jsxs(HStack, { gap: gap ?? "4", opacity: loading ? 0 : 1, children: [
15509
- before ? renderSlot(before, "before") : iconBefore ? renderIcon(iconBefore) : null,
15523
+ before ? renderSlot(before, "before") : iconBefore ? renderSlot(/* @__PURE__ */ jsx(Icon, { name: iconBefore, "aria-hidden": true }), "before") : null,
15510
15524
  /* @__PURE__ */ jsx(Box, { className: classes.mainContent, children }),
15511
- after ? renderSlot(after, "after") : iconAfter ? renderIcon(iconAfter) : null
15525
+ after ? renderSlot(after, "after") : iconAfter ? renderSlot(/* @__PURE__ */ jsx(Icon, { name: iconAfter, "aria-hidden": true }), "after") : null
15512
15526
  ] }),
15513
15527
  loading && /* @__PURE__ */ jsx(
15514
15528
  Spinner,