@schematichq/schematic-components 0.7.8 → 0.8.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.
- package/dist/schematic-components.cjs.js +157 -218
- package/dist/schematic-components.d.ts +55 -125
- package/dist/schematic-components.esm.js +481 -542
- package/package.json +10 -1
|
@@ -2015,66 +2015,6 @@ var require_pluralize = __commonJS({
|
|
|
2015
2015
|
}
|
|
2016
2016
|
});
|
|
2017
2017
|
|
|
2018
|
-
// node_modules/classnames/index.js
|
|
2019
|
-
var require_classnames = __commonJS({
|
|
2020
|
-
"node_modules/classnames/index.js"(exports, module2) {
|
|
2021
|
-
(function() {
|
|
2022
|
-
"use strict";
|
|
2023
|
-
var hasOwn = {}.hasOwnProperty;
|
|
2024
|
-
function classNames() {
|
|
2025
|
-
var classes = "";
|
|
2026
|
-
for (var i2 = 0; i2 < arguments.length; i2++) {
|
|
2027
|
-
var arg = arguments[i2];
|
|
2028
|
-
if (arg) {
|
|
2029
|
-
classes = appendClass(classes, parseValue(arg));
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
return classes;
|
|
2033
|
-
}
|
|
2034
|
-
function parseValue(arg) {
|
|
2035
|
-
if (typeof arg === "string" || typeof arg === "number") {
|
|
2036
|
-
return arg;
|
|
2037
|
-
}
|
|
2038
|
-
if (typeof arg !== "object") {
|
|
2039
|
-
return "";
|
|
2040
|
-
}
|
|
2041
|
-
if (Array.isArray(arg)) {
|
|
2042
|
-
return classNames.apply(null, arg);
|
|
2043
|
-
}
|
|
2044
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
|
|
2045
|
-
return arg.toString();
|
|
2046
|
-
}
|
|
2047
|
-
var classes = "";
|
|
2048
|
-
for (var key in arg) {
|
|
2049
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
2050
|
-
classes = appendClass(classes, key);
|
|
2051
|
-
}
|
|
2052
|
-
}
|
|
2053
|
-
return classes;
|
|
2054
|
-
}
|
|
2055
|
-
function appendClass(value, newClass) {
|
|
2056
|
-
if (!newClass) {
|
|
2057
|
-
return value;
|
|
2058
|
-
}
|
|
2059
|
-
if (value) {
|
|
2060
|
-
return value + " " + newClass;
|
|
2061
|
-
}
|
|
2062
|
-
return value + newClass;
|
|
2063
|
-
}
|
|
2064
|
-
if (typeof module2 !== "undefined" && module2.exports) {
|
|
2065
|
-
classNames.default = classNames;
|
|
2066
|
-
module2.exports = classNames;
|
|
2067
|
-
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
|
2068
|
-
define("classnames", [], function() {
|
|
2069
|
-
return classNames;
|
|
2070
|
-
});
|
|
2071
|
-
} else {
|
|
2072
|
-
window.classNames = classNames;
|
|
2073
|
-
}
|
|
2074
|
-
})();
|
|
2075
|
-
}
|
|
2076
|
-
});
|
|
2077
|
-
|
|
2078
2018
|
// node_modules/lodash/now.js
|
|
2079
2019
|
var require_now = __commonJS({
|
|
2080
2020
|
"node_modules/lodash/now.js"(exports, module2) {
|
|
@@ -2260,7 +2200,7 @@ __export(index_exports, {
|
|
|
2260
2200
|
ButtonElement: () => ButtonElement,
|
|
2261
2201
|
Card: () => Card,
|
|
2262
2202
|
Column: () => Column,
|
|
2263
|
-
Container: () =>
|
|
2203
|
+
Container: () => Container,
|
|
2264
2204
|
Element: () => Element,
|
|
2265
2205
|
EmbedButton: () => EmbedButton,
|
|
2266
2206
|
EmbedContext: () => EmbedContext,
|
|
@@ -2268,6 +2208,7 @@ __export(index_exports, {
|
|
|
2268
2208
|
Flex: () => Flex,
|
|
2269
2209
|
FussyChild: () => FussyChild,
|
|
2270
2210
|
Icon: () => Icon2,
|
|
2211
|
+
IconContainer: () => IconContainer,
|
|
2271
2212
|
IconRound: () => IconRound,
|
|
2272
2213
|
IncludedFeatures: () => IncludedFeatures,
|
|
2273
2214
|
Input: () => Input,
|
|
@@ -2295,6 +2236,7 @@ __export(index_exports, {
|
|
|
2295
2236
|
cardBoxShadow: () => cardBoxShadow,
|
|
2296
2237
|
defaultSettings: () => defaultSettings,
|
|
2297
2238
|
defaultTheme: () => defaultTheme,
|
|
2239
|
+
iconsList: () => iconsList,
|
|
2298
2240
|
progressColorMap: () => progressColorMap,
|
|
2299
2241
|
useAvailablePlans: () => useAvailablePlans,
|
|
2300
2242
|
useEmbed: () => useEmbed,
|
|
@@ -11133,6 +11075,8 @@ function CompanyPlanWithBillingSubViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11133
11075
|
return json;
|
|
11134
11076
|
}
|
|
11135
11077
|
return {
|
|
11078
|
+
addedOn: json["added_on"] == null ? void 0 : new Date(json["added_on"]),
|
|
11079
|
+
billingProductExternalId: json["billing_product_external_id"] == null ? void 0 : json["billing_product_external_id"],
|
|
11136
11080
|
billingProductId: json["billing_product_id"] == null ? void 0 : json["billing_product_id"],
|
|
11137
11081
|
description: json["description"] == null ? void 0 : json["description"],
|
|
11138
11082
|
id: json["id"],
|
|
@@ -11572,6 +11516,7 @@ function CompanyPlanDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11572
11516
|
return {
|
|
11573
11517
|
audienceType: json["audience_type"] == null ? void 0 : json["audience_type"],
|
|
11574
11518
|
billingProduct: json["billing_product"] == null ? void 0 : BillingProductDetailResponseDataFromJSON(json["billing_product"]),
|
|
11519
|
+
chargeType: json["charge_type"],
|
|
11575
11520
|
companyCanTrial: json["company_can_trial"],
|
|
11576
11521
|
companyCount: json["company_count"],
|
|
11577
11522
|
createdAt: new Date(json["created_at"]),
|
|
@@ -11593,6 +11538,7 @@ function CompanyPlanDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11593
11538
|
isTrialable: json["is_trialable"],
|
|
11594
11539
|
monthlyPrice: json["monthly_price"] == null ? void 0 : BillingPriceResponseDataFromJSON(json["monthly_price"]),
|
|
11595
11540
|
name: json["name"],
|
|
11541
|
+
oneTimePrice: json["one_time_price"] == null ? void 0 : BillingPriceResponseDataFromJSON(json["one_time_price"]),
|
|
11596
11542
|
planType: json["plan_type"],
|
|
11597
11543
|
trialDays: json["trial_days"] == null ? void 0 : json["trial_days"],
|
|
11598
11544
|
updatedAt: new Date(json["updated_at"]),
|
|
@@ -11656,6 +11602,7 @@ function PlanDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11656
11602
|
return {
|
|
11657
11603
|
audienceType: json["audience_type"] == null ? void 0 : json["audience_type"],
|
|
11658
11604
|
billingProduct: json["billing_product"] == null ? void 0 : BillingProductDetailResponseDataFromJSON(json["billing_product"]),
|
|
11605
|
+
chargeType: json["charge_type"],
|
|
11659
11606
|
companyCount: json["company_count"],
|
|
11660
11607
|
createdAt: new Date(json["created_at"]),
|
|
11661
11608
|
description: json["description"],
|
|
@@ -11669,6 +11616,7 @@ function PlanDetailResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11669
11616
|
isTrialable: json["is_trialable"],
|
|
11670
11617
|
monthlyPrice: json["monthly_price"] == null ? void 0 : BillingPriceResponseDataFromJSON(json["monthly_price"]),
|
|
11671
11618
|
name: json["name"],
|
|
11619
|
+
oneTimePrice: json["one_time_price"] == null ? void 0 : BillingPriceResponseDataFromJSON(json["one_time_price"]),
|
|
11672
11620
|
planType: json["plan_type"],
|
|
11673
11621
|
trialDays: json["trial_days"] == null ? void 0 : json["trial_days"],
|
|
11674
11622
|
updatedAt: new Date(json["updated_at"]),
|
|
@@ -13195,7 +13143,7 @@ var EmbedProvider = ({
|
|
|
13195
13143
|
(0, import_react11.useEffect)(() => {
|
|
13196
13144
|
if (accessToken) {
|
|
13197
13145
|
const { headers = {} } = apiConfig ?? {};
|
|
13198
|
-
headers["X-Schematic-Components-Version"] = "0.
|
|
13146
|
+
headers["X-Schematic-Components-Version"] = "0.8.0";
|
|
13199
13147
|
headers["X-Schematic-Session-ID"] = sessionIdRef.current;
|
|
13200
13148
|
const config = new Configuration({
|
|
13201
13149
|
...apiConfig,
|
|
@@ -13680,13 +13628,143 @@ var Button2 = (0, import_react16.forwardRef)(
|
|
|
13680
13628
|
);
|
|
13681
13629
|
Button2.displayName = "Button";
|
|
13682
13630
|
|
|
13631
|
+
// node_modules/@schematichq/schematic-icons/dist/components/Icon.js
|
|
13632
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
13633
|
+
var Icon = ({ name, className = "", style, ...rest }) => {
|
|
13634
|
+
return (0, import_jsx_runtime3.jsx)("i", { className: `icon icon-${name} ${className}`, style, ...rest });
|
|
13635
|
+
};
|
|
13636
|
+
var Icon_default = Icon;
|
|
13637
|
+
|
|
13638
|
+
// node_modules/@schematichq/schematic-icons/dist/types.js
|
|
13639
|
+
var iconsList = {
|
|
13640
|
+
"wind": 61697,
|
|
13641
|
+
"webhook": 61698,
|
|
13642
|
+
"waves": 61699,
|
|
13643
|
+
"water-drop": 61700,
|
|
13644
|
+
"watch-pocket": 61701,
|
|
13645
|
+
"watch-hand": 61702,
|
|
13646
|
+
"wallet": 61703,
|
|
13647
|
+
"visa": 61704,
|
|
13648
|
+
"video-camera": 61705,
|
|
13649
|
+
"verified": 61706,
|
|
13650
|
+
"unsubscribe": 61707,
|
|
13651
|
+
"unprotected": 61708,
|
|
13652
|
+
"tube": 61709,
|
|
13653
|
+
"truck": 61710,
|
|
13654
|
+
"tornado": 61711,
|
|
13655
|
+
"thunder": 61712,
|
|
13656
|
+
"text": 61713,
|
|
13657
|
+
"test": 61714,
|
|
13658
|
+
"stripe": 61715,
|
|
13659
|
+
"stacks": 61716,
|
|
13660
|
+
"stacked": 61717,
|
|
13661
|
+
"speaker": 61718,
|
|
13662
|
+
"spade": 61719,
|
|
13663
|
+
"silence": 61720,
|
|
13664
|
+
"signal": 61721,
|
|
13665
|
+
"sidebar": 61722,
|
|
13666
|
+
"server-search": 61723,
|
|
13667
|
+
"segment": 61724,
|
|
13668
|
+
"search": 61725,
|
|
13669
|
+
"schematic": 61726,
|
|
13670
|
+
"present": 61727,
|
|
13671
|
+
"plus-rounded-outline": 61728,
|
|
13672
|
+
"plus-minus": 61729,
|
|
13673
|
+
"plug": 61730,
|
|
13674
|
+
"plan": 61731,
|
|
13675
|
+
"picker": 61732,
|
|
13676
|
+
"percent": 61733,
|
|
13677
|
+
"pencil": 61734,
|
|
13678
|
+
"paypal": 61735,
|
|
13679
|
+
"paper-plane": 61736,
|
|
13680
|
+
"package": 61737,
|
|
13681
|
+
"node-plus": 61738,
|
|
13682
|
+
"node-minus": 61739,
|
|
13683
|
+
"music": 61740,
|
|
13684
|
+
"move": 61741,
|
|
13685
|
+
"mastercard": 61742,
|
|
13686
|
+
"link": 61743,
|
|
13687
|
+
"key": 61744,
|
|
13688
|
+
"juice": 61745,
|
|
13689
|
+
"integration": 61746,
|
|
13690
|
+
"info-rounded": 61747,
|
|
13691
|
+
"image": 61748,
|
|
13692
|
+
"hubspot": 61749,
|
|
13693
|
+
"heart": 61750,
|
|
13694
|
+
"hash": 61751,
|
|
13695
|
+
"hammer": 61752,
|
|
13696
|
+
"google": 61753,
|
|
13697
|
+
"globe": 61754,
|
|
13698
|
+
"glasses": 61755,
|
|
13699
|
+
"github": 61756,
|
|
13700
|
+
"generic-payment": 61757,
|
|
13701
|
+
"folder": 61758,
|
|
13702
|
+
"folder-plus": 61759,
|
|
13703
|
+
"folder-minus": 61760,
|
|
13704
|
+
"flask": 61761,
|
|
13705
|
+
"filter": 61762,
|
|
13706
|
+
"eye": 61763,
|
|
13707
|
+
"exclamation-rounded-filled": 61764,
|
|
13708
|
+
"equalizer": 61765,
|
|
13709
|
+
"entitlements": 61766,
|
|
13710
|
+
"dots-vertical": 61767,
|
|
13711
|
+
"dots-horizontal": 61768,
|
|
13712
|
+
"dollar-rounded": 61769,
|
|
13713
|
+
"diamond": 61770,
|
|
13714
|
+
"cylnder": 61771,
|
|
13715
|
+
"credit": 61772,
|
|
13716
|
+
"copy": 61773,
|
|
13717
|
+
"connection": 61774,
|
|
13718
|
+
"compass": 61775,
|
|
13719
|
+
"collapse": 61776,
|
|
13720
|
+
"collapse-empty": 61777,
|
|
13721
|
+
"cog": 61778,
|
|
13722
|
+
"coffee": 61779,
|
|
13723
|
+
"code": 61780,
|
|
13724
|
+
"cmd": 61781,
|
|
13725
|
+
"club": 61782,
|
|
13726
|
+
"cloud-up": 61783,
|
|
13727
|
+
"close": 61784,
|
|
13728
|
+
"close-rounded-filled": 61785,
|
|
13729
|
+
"clerk": 61786,
|
|
13730
|
+
"chips": 61787,
|
|
13731
|
+
"chip": 61788,
|
|
13732
|
+
"chevron-up": 61789,
|
|
13733
|
+
"chevron-right": 61790,
|
|
13734
|
+
"chevron-left": 61791,
|
|
13735
|
+
"chevron-down": 61792,
|
|
13736
|
+
"check": 61793,
|
|
13737
|
+
"check-rounded": 61794,
|
|
13738
|
+
"cashapp": 61795,
|
|
13739
|
+
"burger": 61796,
|
|
13740
|
+
"bulb": 61797,
|
|
13741
|
+
"boolean": 61798,
|
|
13742
|
+
"boolean-on": 61799,
|
|
13743
|
+
"bookmark": 61800,
|
|
13744
|
+
"board": 61801,
|
|
13745
|
+
"bell": 61802,
|
|
13746
|
+
"bank": 61803,
|
|
13747
|
+
"backspace": 61804,
|
|
13748
|
+
"arrow-upward": 61805,
|
|
13749
|
+
"arrow-up": 61806,
|
|
13750
|
+
"arrow-right": 61807,
|
|
13751
|
+
"arrow-left": 61808,
|
|
13752
|
+
"arrow-down": 61809,
|
|
13753
|
+
"arrow-curved": 61810,
|
|
13754
|
+
"arrow-analytics": 61811,
|
|
13755
|
+
"applepay": 61812,
|
|
13756
|
+
"amex": 61813,
|
|
13757
|
+
"amazonpay": 61814,
|
|
13758
|
+
"alarm": 61815
|
|
13759
|
+
};
|
|
13760
|
+
|
|
13683
13761
|
// src/components/ui/icon/styles.ts
|
|
13684
|
-
var
|
|
13762
|
+
var Icon2 = dt(Icon_default)`
|
|
13685
13763
|
display: flex;
|
|
13686
13764
|
justify-content: center;
|
|
13687
13765
|
align-items: center;
|
|
13688
13766
|
`;
|
|
13689
|
-
var
|
|
13767
|
+
var IconContainer = dt.div`
|
|
13690
13768
|
display: flex;
|
|
13691
13769
|
justify-content: center;
|
|
13692
13770
|
align-items: center;
|
|
@@ -13731,13 +13809,13 @@ var Container = dt.div`
|
|
|
13731
13809
|
${({ $variant, $colors }) => $variant === "outline" ? lt`
|
|
13732
13810
|
background-color: transparent;
|
|
13733
13811
|
|
|
13734
|
-
${
|
|
13812
|
+
${Icon2} {
|
|
13735
13813
|
color: ${$colors[0]};
|
|
13736
13814
|
}
|
|
13737
13815
|
` : lt`
|
|
13738
13816
|
background-color: ${$colors[1]};
|
|
13739
13817
|
|
|
13740
|
-
${
|
|
13818
|
+
${Icon2} {
|
|
13741
13819
|
color: ${$colors[0]};
|
|
13742
13820
|
}
|
|
13743
13821
|
`}
|
|
@@ -13768,7 +13846,7 @@ var EmbedButton = dt(Button2)`
|
|
|
13768
13846
|
return lt`
|
|
13769
13847
|
color: ${textColor};
|
|
13770
13848
|
|
|
13771
|
-
${
|
|
13849
|
+
${Icon2} {
|
|
13772
13850
|
color: ${textColor};
|
|
13773
13851
|
}
|
|
13774
13852
|
`;
|
|
@@ -13787,7 +13865,7 @@ var EmbedButton = dt(Button2)`
|
|
|
13787
13865
|
border-color: ${color};
|
|
13788
13866
|
color: ${color};
|
|
13789
13867
|
|
|
13790
|
-
${
|
|
13868
|
+
${Icon2} {
|
|
13791
13869
|
color: ${color};
|
|
13792
13870
|
}
|
|
13793
13871
|
`;
|
|
@@ -13798,7 +13876,7 @@ var EmbedButton = dt(Button2)`
|
|
|
13798
13876
|
border-color: #cbcbcb;
|
|
13799
13877
|
color: ${color};
|
|
13800
13878
|
|
|
13801
|
-
${
|
|
13879
|
+
${Icon2} {
|
|
13802
13880
|
color: ${color};
|
|
13803
13881
|
}
|
|
13804
13882
|
`;
|
|
@@ -13809,7 +13887,7 @@ var EmbedButton = dt(Button2)`
|
|
|
13809
13887
|
border-color: transparent;
|
|
13810
13888
|
color: ${color};
|
|
13811
13889
|
|
|
13812
|
-
${
|
|
13890
|
+
${Icon2} {
|
|
13813
13891
|
color: ${color};
|
|
13814
13892
|
}
|
|
13815
13893
|
`;
|
|
@@ -13843,7 +13921,7 @@ var EmbedButton = dt(Button2)`
|
|
|
13843
13921
|
border-color: ${color};
|
|
13844
13922
|
color: ${textColor};
|
|
13845
13923
|
|
|
13846
|
-
${
|
|
13924
|
+
${Icon2} {
|
|
13847
13925
|
color: ${textColor};
|
|
13848
13926
|
}
|
|
13849
13927
|
`;
|
|
@@ -13936,134 +14014,6 @@ var Flex = dt(Box)`
|
|
|
13936
14014
|
display: flex;
|
|
13937
14015
|
`;
|
|
13938
14016
|
|
|
13939
|
-
// src/components/ui/icon/Icon.tsx
|
|
13940
|
-
var import_classnames = __toESM(require_classnames());
|
|
13941
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
13942
|
-
var Icon2 = ({ name, className, ...props }) => {
|
|
13943
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { className: (0, import_classnames.default)("i", `i-${name}`, className), ...props });
|
|
13944
|
-
};
|
|
13945
|
-
|
|
13946
|
-
// src/components/ui/icon/icons.js
|
|
13947
|
-
var icons_default = {
|
|
13948
|
-
alarm: 61697,
|
|
13949
|
-
amazonpay: 61698,
|
|
13950
|
-
amex: 61699,
|
|
13951
|
-
applepay: 61700,
|
|
13952
|
-
"arrow-analytics": 61701,
|
|
13953
|
-
"arrow-curved": 61702,
|
|
13954
|
-
"arrow-down": 61703,
|
|
13955
|
-
"arrow-left": 61704,
|
|
13956
|
-
"arrow-right": 61705,
|
|
13957
|
-
"arrow-up": 61706,
|
|
13958
|
-
"arrow-upward": 61707,
|
|
13959
|
-
backspace: 61708,
|
|
13960
|
-
bank: 61709,
|
|
13961
|
-
bell: 61710,
|
|
13962
|
-
board: 61711,
|
|
13963
|
-
bookmark: 61712,
|
|
13964
|
-
"boolean-on": 61713,
|
|
13965
|
-
boolean: 61714,
|
|
13966
|
-
bulb: 61715,
|
|
13967
|
-
burger: 61716,
|
|
13968
|
-
cashapp: 61717,
|
|
13969
|
-
"check-rounded": 61718,
|
|
13970
|
-
check: 61719,
|
|
13971
|
-
"chevron-down": 61720,
|
|
13972
|
-
"chevron-left": 61721,
|
|
13973
|
-
"chevron-right": 61722,
|
|
13974
|
-
"chevron-up": 61723,
|
|
13975
|
-
chip: 61724,
|
|
13976
|
-
chips: 61725,
|
|
13977
|
-
clerk: 61726,
|
|
13978
|
-
"close-rounded-filled": 61727,
|
|
13979
|
-
close: 61728,
|
|
13980
|
-
"cloud-up": 61729,
|
|
13981
|
-
club: 61730,
|
|
13982
|
-
cmd: 61731,
|
|
13983
|
-
code: 61732,
|
|
13984
|
-
coffee: 61733,
|
|
13985
|
-
cog: 61734,
|
|
13986
|
-
"collapse-empty": 61735,
|
|
13987
|
-
collapse: 61736,
|
|
13988
|
-
compass: 61737,
|
|
13989
|
-
connection: 61738,
|
|
13990
|
-
copy: 61739,
|
|
13991
|
-
credit: 61740,
|
|
13992
|
-
cylnder: 61741,
|
|
13993
|
-
diamond: 61742,
|
|
13994
|
-
"dollar-rounded": 61743,
|
|
13995
|
-
"dots-horizontal": 61744,
|
|
13996
|
-
"dots-vertical": 61745,
|
|
13997
|
-
entitlements: 61746,
|
|
13998
|
-
equalizer: 61747,
|
|
13999
|
-
"exclamation-rounded-filled": 61748,
|
|
14000
|
-
eye: 61749,
|
|
14001
|
-
filter: 61750,
|
|
14002
|
-
flask: 61751,
|
|
14003
|
-
"folder-minus": 61752,
|
|
14004
|
-
"folder-plus": 61753,
|
|
14005
|
-
folder: 61754,
|
|
14006
|
-
"generic-payment": 61755,
|
|
14007
|
-
github: 61756,
|
|
14008
|
-
glasses: 61757,
|
|
14009
|
-
globe: 61758,
|
|
14010
|
-
google: 61759,
|
|
14011
|
-
hammer: 61760,
|
|
14012
|
-
hash: 61761,
|
|
14013
|
-
heart: 61762,
|
|
14014
|
-
hubspot: 61763,
|
|
14015
|
-
image: 61764,
|
|
14016
|
-
"info-rounded": 61765,
|
|
14017
|
-
juice: 61766,
|
|
14018
|
-
key: 61767,
|
|
14019
|
-
link: 61768,
|
|
14020
|
-
mastercard: 61769,
|
|
14021
|
-
move: 61770,
|
|
14022
|
-
music: 61771,
|
|
14023
|
-
"node-minus": 61772,
|
|
14024
|
-
"node-plus": 61773,
|
|
14025
|
-
package: 61774,
|
|
14026
|
-
"paper-plane": 61775,
|
|
14027
|
-
paypal: 61776,
|
|
14028
|
-
pencil: 61777,
|
|
14029
|
-
percent: 61778,
|
|
14030
|
-
picker: 61779,
|
|
14031
|
-
plan: 61780,
|
|
14032
|
-
plug: 61781,
|
|
14033
|
-
"plus-minus": 61782,
|
|
14034
|
-
"plus-rounded-outline": 61783,
|
|
14035
|
-
present: 61784,
|
|
14036
|
-
schematic: 61785,
|
|
14037
|
-
search: 61786,
|
|
14038
|
-
segment: 61787,
|
|
14039
|
-
"server-search": 61788,
|
|
14040
|
-
sidebar: 61789,
|
|
14041
|
-
signal: 61790,
|
|
14042
|
-
silence: 61791,
|
|
14043
|
-
spade: 61792,
|
|
14044
|
-
speaker: 61793,
|
|
14045
|
-
stacked: 61794,
|
|
14046
|
-
stacks: 61795,
|
|
14047
|
-
stripe: 61796,
|
|
14048
|
-
text: 61797,
|
|
14049
|
-
thunder: 61798,
|
|
14050
|
-
tornado: 61799,
|
|
14051
|
-
truck: 61800,
|
|
14052
|
-
tube: 61801,
|
|
14053
|
-
unprotected: 61802,
|
|
14054
|
-
unsubscribe: 61803,
|
|
14055
|
-
verified: 61804,
|
|
14056
|
-
"video-camera": 61805,
|
|
14057
|
-
visa: 61806,
|
|
14058
|
-
wallet: 61807,
|
|
14059
|
-
"watch-hand": 61808,
|
|
14060
|
-
"watch-pocket": 61809,
|
|
14061
|
-
"water-drop": 61810,
|
|
14062
|
-
waves: 61811,
|
|
14063
|
-
webhook: 61812,
|
|
14064
|
-
wind: 61813
|
|
14065
|
-
};
|
|
14066
|
-
|
|
14067
14017
|
// src/components/ui/icon/IconRound.tsx
|
|
14068
14018
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
14069
14019
|
var IconRound = ({
|
|
@@ -14073,13 +14023,9 @@ var IconRound = ({
|
|
|
14073
14023
|
colors = ["white", "#e5e7eb"],
|
|
14074
14024
|
...props
|
|
14075
14025
|
}) => {
|
|
14076
|
-
const iconNamesSet = new Set(
|
|
14077
|
-
|
|
14078
|
-
)
|
|
14079
|
-
const isIconName = (value) => {
|
|
14080
|
-
return iconNamesSet.has(value);
|
|
14081
|
-
};
|
|
14082
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Container, { $size: size, $variant: variant, $colors: colors, ...props, children: isIconName(name) ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon2, { name }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
14026
|
+
const iconNamesSet = new Set(Object.keys(iconsList));
|
|
14027
|
+
const isIconName = (value) => iconNamesSet.has(value);
|
|
14028
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(IconContainer, { $size: size, $variant: variant, $colors: colors, ...props, children: isIconName(name) ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon2, { name }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
14083
14029
|
"span",
|
|
14084
14030
|
{
|
|
14085
14031
|
style: {
|
|
@@ -14281,7 +14227,7 @@ var Modal = (0, import_react17.forwardRef)(
|
|
|
14281
14227
|
$scrollbarColor: `${isLightBackground ? "hsla(0, 0%, 0%, 0.15)" : "hsla(0, 0%, 100%, 0.15)"} transparent`,
|
|
14282
14228
|
$scrollbarWidth: "thin",
|
|
14283
14229
|
$scrollbarGutter: "stable both-edges",
|
|
14284
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
14230
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Container, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
14285
14231
|
Flex,
|
|
14286
14232
|
{
|
|
14287
14233
|
ref: contentRef,
|
|
@@ -14789,7 +14735,7 @@ Column.displayName = "Column";
|
|
|
14789
14735
|
var import_react22 = require("react");
|
|
14790
14736
|
|
|
14791
14737
|
// src/components/layout/root/styles.ts
|
|
14792
|
-
var
|
|
14738
|
+
var Container = dt.div`
|
|
14793
14739
|
all: initial;
|
|
14794
14740
|
box-sizing: border-box;
|
|
14795
14741
|
display: block;
|
|
@@ -14823,7 +14769,7 @@ var Container2 = dt.div`
|
|
|
14823
14769
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
14824
14770
|
var Root = (0, import_react22.forwardRef)(
|
|
14825
14771
|
({ data, settings, ...props }, ref) => {
|
|
14826
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
14772
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Container, { ref, ...props });
|
|
14827
14773
|
}
|
|
14828
14774
|
);
|
|
14829
14775
|
Root.displayName = "Root";
|
|
@@ -18794,7 +18740,7 @@ Invoices.displayName = "Invoices";
|
|
|
18794
18740
|
var import_react35 = require("react");
|
|
18795
18741
|
|
|
18796
18742
|
// src/components/elements/metered-features/styles.ts
|
|
18797
|
-
var
|
|
18743
|
+
var Container2 = dt.div`
|
|
18798
18744
|
display: flex;
|
|
18799
18745
|
flex-direction: column;
|
|
18800
18746
|
gap: 1rem;
|
|
@@ -18890,7 +18836,7 @@ var MeteredFeatures = (0, import_react35.forwardRef)(({ className, ...rest }, re
|
|
|
18890
18836
|
if (!shouldShowFeatures) {
|
|
18891
18837
|
return null;
|
|
18892
18838
|
}
|
|
18893
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
18839
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Container2, { ref, className, children: featureUsage.map(
|
|
18894
18840
|
({
|
|
18895
18841
|
feature,
|
|
18896
18842
|
priceBehavior,
|
|
@@ -21380,13 +21326,6 @@ var SchematicEmbed = ({
|
|
|
21380
21326
|
};
|
|
21381
21327
|
/*! Bundled license information:
|
|
21382
21328
|
|
|
21383
|
-
classnames/index.js:
|
|
21384
|
-
(*!
|
|
21385
|
-
Copyright (c) 2018 Jed Watson.
|
|
21386
|
-
Licensed under the MIT License (MIT), see
|
|
21387
|
-
http://jedwatson.github.io/classnames
|
|
21388
|
-
*)
|
|
21389
|
-
|
|
21390
21329
|
pako/dist/pako.esm.mjs:
|
|
21391
21330
|
(*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)
|
|
21392
21331
|
*/
|