@beweco/aurora-ui 0.6.4 → 0.6.6
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/assets/css/styles.css +1 -1
- package/dist/index.cjs.js +291 -33
- package/dist/index.esm.js +286 -35
- package/dist/types/components/color-selector/ColorSelector.d.ts +4 -0
- package/dist/types/components/color-selector/ColorSelector.d.ts.map +1 -1
- package/dist/types/contexts/theme/theme-context.type.d.ts +1 -1
- package/dist/types/contexts/theme/theme-context.type.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/providers/theme/hex-to-theme-color.d.ts.map +1 -1
- package/dist/types/providers/theme/index.d.ts +1 -0
- package/dist/types/providers/theme/index.d.ts.map +1 -1
- package/dist/types/providers/theme/theme.utils.d.ts +15 -0
- package/dist/types/providers/theme/theme.utils.d.ts.map +1 -1
- package/dist/types/styles/colors.default.d.ts +154 -0
- package/dist/types/styles/colors.default.d.ts.map +1 -1
- package/dist/types/themes/aurora-theme-registry.d.ts +31 -0
- package/dist/types/themes/aurora-theme-registry.d.ts.map +1 -0
- package/dist/types/themes/index.d.ts +2 -0
- package/dist/types/themes/index.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Skeleton, Button as Button$1, Chip as Chip$1, Accordion, AccordionItem, Pagination as Pagination$1, DatePicker as DatePicker$1, DateRangePicker as DateRangePicker$1, Input as Input$1, RadioGroup, Radio, cn, Card as Card$1, Spacer, Tabs, Tab, Dropdown, DropdownTrigger, DropdownMenu, DropdownItem, Autocomplete, Breadcrumbs, BreadcrumbItem, DropdownSection, Badge, Spinner, ListboxItem, Popover, PopoverTrigger,
|
|
1
|
+
import { Skeleton, Button as Button$1, Chip as Chip$1, Accordion, AccordionItem, Pagination as Pagination$1, DatePicker as DatePicker$1, DateRangePicker as DateRangePicker$1, Input as Input$1, RadioGroup, Radio, cn, Card as Card$1, Spacer, Tabs, Tab, Dropdown, DropdownTrigger, DropdownMenu, DropdownItem, Autocomplete, Tooltip as Tooltip$1, Breadcrumbs, BreadcrumbItem, DropdownSection, Badge, Spinner, ListboxItem, Popover, PopoverTrigger, PopoverContent, Listbox, ListboxSection, Avatar, Link, Switch as Switch$1, TimeInput as TimeInput$1, Select as Select$1, Image as Image$1, Table, TableHeader, TableColumn, TableBody, TableRow, TableCell, Textarea as Textarea$1, Alert, Modal as Modal$1, ModalContent as ModalContent$1, ModalHeader as ModalHeader$1, ModalBody as ModalBody$1, Slider, ModalFooter as ModalFooter$1, CardBody, SelectItem, Drawer, DrawerContent, DrawerBody, SelectSection, Checkbox, AutocompleteItem, Divider } from '@heroui/react';
|
|
2
2
|
export * from '@heroui/react';
|
|
3
3
|
export { Slider } from '@heroui/react';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1477,42 +1477,224 @@ var themeColors = {
|
|
|
1477
1477
|
overlay: "#000000",
|
|
1478
1478
|
},
|
|
1479
1479
|
},
|
|
1480
|
+
"oceanMint-light": {
|
|
1481
|
+
extend: "light",
|
|
1482
|
+
colors: {
|
|
1483
|
+
primary: {
|
|
1484
|
+
"50": "#e4f4fc",
|
|
1485
|
+
"100": "#bee4f7",
|
|
1486
|
+
"200": "#98d4f3",
|
|
1487
|
+
"300": "#72c5ee",
|
|
1488
|
+
"400": "#4cb5ea",
|
|
1489
|
+
"500": "#26a5e5",
|
|
1490
|
+
"600": "#1f88bd",
|
|
1491
|
+
"700": "#196b95",
|
|
1492
|
+
"800": "#124e6d",
|
|
1493
|
+
"900": "#0b3245",
|
|
1494
|
+
foreground: "#000",
|
|
1495
|
+
DEFAULT: "#26a5e5",
|
|
1496
|
+
},
|
|
1497
|
+
secondary: {
|
|
1498
|
+
"50": "#e2fdf2",
|
|
1499
|
+
"100": "#bafae0",
|
|
1500
|
+
"200": "#92f7cd",
|
|
1501
|
+
"300": "#6af5bb",
|
|
1502
|
+
"400": "#42f2a8",
|
|
1503
|
+
"500": "#1aef96",
|
|
1504
|
+
"600": "#15c57c",
|
|
1505
|
+
"700": "#119b62",
|
|
1506
|
+
"800": "#0c7247",
|
|
1507
|
+
"900": "#08482d",
|
|
1508
|
+
foreground: "#000",
|
|
1509
|
+
DEFAULT: "#1aef96",
|
|
1510
|
+
},
|
|
1511
|
+
success: {
|
|
1512
|
+
"50": "#e2f8ec",
|
|
1513
|
+
"100": "#b9efd1",
|
|
1514
|
+
"200": "#91e5b5",
|
|
1515
|
+
"300": "#68dc9a",
|
|
1516
|
+
"400": "#40d27f",
|
|
1517
|
+
"500": "#17c964",
|
|
1518
|
+
"600": "#13a653",
|
|
1519
|
+
"700": "#0f8341",
|
|
1520
|
+
"800": "#0b5f30",
|
|
1521
|
+
"900": "#073c1e",
|
|
1522
|
+
foreground: "#000",
|
|
1523
|
+
DEFAULT: "#17c964",
|
|
1524
|
+
},
|
|
1525
|
+
warning: {
|
|
1526
|
+
"50": "#fef4e4",
|
|
1527
|
+
"100": "#fce4bd",
|
|
1528
|
+
"200": "#fad497",
|
|
1529
|
+
"300": "#f9c571",
|
|
1530
|
+
"400": "#f7b54a",
|
|
1531
|
+
"500": "#f5a524",
|
|
1532
|
+
"600": "#ca881e",
|
|
1533
|
+
"700": "#9f6b17",
|
|
1534
|
+
"800": "#744e11",
|
|
1535
|
+
"900": "#4a320b",
|
|
1536
|
+
foreground: "#000",
|
|
1537
|
+
DEFAULT: "#f5a524",
|
|
1538
|
+
},
|
|
1539
|
+
danger: {
|
|
1540
|
+
"50": "#fee1eb",
|
|
1541
|
+
"100": "#fbb8cf",
|
|
1542
|
+
"200": "#f98eb3",
|
|
1543
|
+
"300": "#f76598",
|
|
1544
|
+
"400": "#f53b7c",
|
|
1545
|
+
"500": "#f31260",
|
|
1546
|
+
"600": "#c80f4f",
|
|
1547
|
+
"700": "#9e0c3e",
|
|
1548
|
+
"800": "#73092e",
|
|
1549
|
+
"900": "#49051d",
|
|
1550
|
+
foreground: "#000",
|
|
1551
|
+
DEFAULT: "#f31260",
|
|
1552
|
+
},
|
|
1553
|
+
focus: "#006FEE",
|
|
1554
|
+
overlay: "#ffffff",
|
|
1555
|
+
},
|
|
1556
|
+
},
|
|
1557
|
+
"oceanMint-dark": {
|
|
1558
|
+
extend: "dark",
|
|
1559
|
+
colors: {
|
|
1560
|
+
primary: {
|
|
1561
|
+
"50": "#0b3245",
|
|
1562
|
+
"100": "#124e6d",
|
|
1563
|
+
"200": "#196b95",
|
|
1564
|
+
"300": "#1f88bd",
|
|
1565
|
+
"400": "#26a5e5",
|
|
1566
|
+
"500": "#4cb5ea",
|
|
1567
|
+
"600": "#72c5ee",
|
|
1568
|
+
"700": "#98d4f3",
|
|
1569
|
+
"800": "#bee4f7",
|
|
1570
|
+
"900": "#e4f4fc",
|
|
1571
|
+
foreground: "#000",
|
|
1572
|
+
DEFAULT: "#26a5e5",
|
|
1573
|
+
},
|
|
1574
|
+
secondary: {
|
|
1575
|
+
"50": "#08482d",
|
|
1576
|
+
"100": "#0c7247",
|
|
1577
|
+
"200": "#119b62",
|
|
1578
|
+
"300": "#15c57c",
|
|
1579
|
+
"400": "#1aef96",
|
|
1580
|
+
"500": "#42f2a8",
|
|
1581
|
+
"600": "#6af5bb",
|
|
1582
|
+
"700": "#92f7cd",
|
|
1583
|
+
"800": "#bafae0",
|
|
1584
|
+
"900": "#e2fdf2",
|
|
1585
|
+
foreground: "#000",
|
|
1586
|
+
DEFAULT: "#1aef96",
|
|
1587
|
+
},
|
|
1588
|
+
success: {
|
|
1589
|
+
"50": "#073c1e",
|
|
1590
|
+
"100": "#0b5f30",
|
|
1591
|
+
"200": "#0f8341",
|
|
1592
|
+
"300": "#13a653",
|
|
1593
|
+
"400": "#17c964",
|
|
1594
|
+
"500": "#40d27f",
|
|
1595
|
+
"600": "#68dc9a",
|
|
1596
|
+
"700": "#91e5b5",
|
|
1597
|
+
"800": "#b9efd1",
|
|
1598
|
+
"900": "#e2f8ec",
|
|
1599
|
+
foreground: "#000",
|
|
1600
|
+
DEFAULT: "#17c964",
|
|
1601
|
+
},
|
|
1602
|
+
warning: {
|
|
1603
|
+
"50": "#4a320b",
|
|
1604
|
+
"100": "#744e11",
|
|
1605
|
+
"200": "#9f6b17",
|
|
1606
|
+
"300": "#ca881e",
|
|
1607
|
+
"400": "#f5a524",
|
|
1608
|
+
"500": "#f7b54a",
|
|
1609
|
+
"600": "#f9c571",
|
|
1610
|
+
"700": "#fad497",
|
|
1611
|
+
"800": "#fce4bd",
|
|
1612
|
+
"900": "#fef4e4",
|
|
1613
|
+
foreground: "#000",
|
|
1614
|
+
DEFAULT: "#f5a524",
|
|
1615
|
+
},
|
|
1616
|
+
danger: {
|
|
1617
|
+
"50": "#49051d",
|
|
1618
|
+
"100": "#73092e",
|
|
1619
|
+
"200": "#9e0c3e",
|
|
1620
|
+
"300": "#c80f4f",
|
|
1621
|
+
"400": "#f31260",
|
|
1622
|
+
"500": "#f53b7c",
|
|
1623
|
+
"600": "#f76598",
|
|
1624
|
+
"700": "#f98eb3",
|
|
1625
|
+
"800": "#fbb8cf",
|
|
1626
|
+
"900": "#fee1eb",
|
|
1627
|
+
foreground: "#000",
|
|
1628
|
+
DEFAULT: "#f31260",
|
|
1629
|
+
},
|
|
1630
|
+
focus: "#006FEE",
|
|
1631
|
+
overlay: "#000000",
|
|
1632
|
+
},
|
|
1633
|
+
},
|
|
1480
1634
|
};
|
|
1481
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* @file This file contains the theme configurations for the application.
|
|
1638
|
+
*/
|
|
1639
|
+
var ALL_THEMES = __spreadArray(["light", "dark"], Object.keys(themeColors), true);
|
|
1640
|
+
/**
|
|
1641
|
+
* Unique hue ids derived from {@link themeColors} keys (e.g. `oceanMint` from `oceanMint-light`).
|
|
1642
|
+
*/
|
|
1643
|
+
function getRegisteredThemeColorBases() {
|
|
1644
|
+
return Array.from(new Set(Object.keys(themeColors).map(function (key) { return key.replace(/-(light|dark)$/, ""); }))).sort();
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
* Same as {@link getRegisteredThemeColorBases} typed as {@link ThemeColor} for callers that expect the union.
|
|
1648
|
+
* Keeps Storybook / pickers in sync when new `*-light` / `*-dark` pairs are added.
|
|
1649
|
+
*/
|
|
1650
|
+
var REGISTERED_THEME_COLORS = getRegisteredThemeColorBases();
|
|
1651
|
+
|
|
1652
|
+
/** Human-readable theme name for tooltips and aria (e.g. blue-light → "Blue light"). */
|
|
1653
|
+
function formatThemeDisplayName(themeName) {
|
|
1654
|
+
return themeName
|
|
1655
|
+
.split("-")
|
|
1656
|
+
.map(function (segment) {
|
|
1657
|
+
return segment.length > 0
|
|
1658
|
+
? segment.charAt(0).toUpperCase() + segment.slice(1).toLowerCase()
|
|
1659
|
+
: segment;
|
|
1660
|
+
})
|
|
1661
|
+
.join(" ");
|
|
1662
|
+
}
|
|
1663
|
+
var swatchClass = "box-border shrink-0 cursor-pointer rounded-full border-2 transition-[border-color,box-shadow]";
|
|
1664
|
+
var radioClassNames = {
|
|
1665
|
+
base: "m-0 inline-flex max-w-fit items-center p-0",
|
|
1666
|
+
wrapper: "hidden",
|
|
1667
|
+
// HeroUI places a full-size invisible input at z-[1] over the label; lift swatches above it.
|
|
1668
|
+
labelWrapper: "relative z-[2] m-0 ms-0 flex flex-col p-0",
|
|
1669
|
+
label: "m-0 block p-0 leading-none",
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* One swatch per registered hue, using the palette for the **current** app light/dark mode.
|
|
1673
|
+
* To preview dark variants the user must switch the app to dark mode (and vice versa).
|
|
1674
|
+
*/
|
|
1482
1675
|
var ColorSelector = function (_a) {
|
|
1483
1676
|
var selectedColor = _a.selectedColor, onColorChange = _a.onColorChange;
|
|
1484
1677
|
var mode = useThemeContext().mode;
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
* Each color option contains:
|
|
1488
|
-
* - value: the theme name (e.g., "blue-light")
|
|
1489
|
-
* - label: the base color name (e.g., "blue")
|
|
1490
|
-
* - color: the primary color hex value
|
|
1491
|
-
*/
|
|
1492
|
-
var colorOptions = Object.entries(themeColors)
|
|
1493
|
-
.filter(function (_a) {
|
|
1494
|
-
var themeData = _a[1];
|
|
1495
|
-
var themeMode = themeData.extend;
|
|
1496
|
-
return mode === "light" ? themeMode === "light" : themeMode === "dark";
|
|
1497
|
-
})
|
|
1498
|
-
.map(function (_a) {
|
|
1499
|
-
var themeName = _a[0], theme = _a[1];
|
|
1500
|
-
return ({
|
|
1501
|
-
value: themeName,
|
|
1502
|
-
label: themeName.split("-")[0],
|
|
1503
|
-
color: theme.colors.primary.DEFAULT,
|
|
1504
|
-
});
|
|
1505
|
-
});
|
|
1678
|
+
var resolvedMode = mode === "dark" ? "dark" : "light";
|
|
1679
|
+
var baseIds = getRegisteredThemeColorBases();
|
|
1506
1680
|
return (jsx(RadioGroup, { value: selectedColor, onValueChange: onColorChange, orientation: "horizontal", className: "flex flex-wrap !gap-2", classNames: {
|
|
1507
1681
|
base: "flex flex-wrap !gap-2",
|
|
1508
1682
|
wrapper: "flex flex-wrap !gap-2",
|
|
1509
|
-
}, children:
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1683
|
+
}, children: baseIds.map(function (baseId) {
|
|
1684
|
+
var themeName = "".concat(baseId, "-").concat(resolvedMode);
|
|
1685
|
+
var entry = themeColors[themeName];
|
|
1686
|
+
if (!entry) {
|
|
1687
|
+
return null;
|
|
1688
|
+
}
|
|
1689
|
+
var isSelected = selectedColor === baseId;
|
|
1690
|
+
return (jsx(Radio, { value: baseId, "aria-label": formatThemeDisplayName(themeName), classNames: radioClassNames, children: jsx(Tooltip$1, { content: formatThemeDisplayName(themeName), delay: 0, closeDelay: 120, placement: "top", children: jsx("span", { className: [
|
|
1691
|
+
swatchClass,
|
|
1692
|
+
"inline-block size-8",
|
|
1693
|
+
isSelected
|
|
1694
|
+
? "border-foreground/40 ring-2 ring-foreground/25 ring-offset-2 ring-offset-background"
|
|
1695
|
+
: "border-default-200 hover:border-default-400",
|
|
1696
|
+
].join(" "), style: { backgroundColor: entry.colors.primary.DEFAULT } }) }) }, baseId));
|
|
1697
|
+
}) }));
|
|
1516
1698
|
};
|
|
1517
1699
|
|
|
1518
1700
|
/**
|
|
@@ -6516,6 +6698,79 @@ var Card = function (_a) {
|
|
|
6516
6698
|
return (jsx(Card$1, __assign({ shadow: shadow, radius: radius, className: combinedClassName }, props, { children: children })));
|
|
6517
6699
|
};
|
|
6518
6700
|
|
|
6701
|
+
/**
|
|
6702
|
+
* Registro público de temas Aurora para consumidores (@beweco/aurora-ui).
|
|
6703
|
+
* Derivado de {@link themeColors}: al añadir un par `*-light` / `*-dark` en
|
|
6704
|
+
* `colors.default.ts`, este registro se actualiza sin duplicar listas.
|
|
6705
|
+
*/
|
|
6706
|
+
function readPrimaryDefault(colors) {
|
|
6707
|
+
var primary = colors.primary;
|
|
6708
|
+
if (primary &&
|
|
6709
|
+
typeof primary === "object" &&
|
|
6710
|
+
"DEFAULT" in primary &&
|
|
6711
|
+
typeof primary.DEFAULT === "string") {
|
|
6712
|
+
return primary.DEFAULT;
|
|
6713
|
+
}
|
|
6714
|
+
return "#000000";
|
|
6715
|
+
}
|
|
6716
|
+
function parseEntry(id, config) {
|
|
6717
|
+
var mode = config.extend === "dark" ? "dark" : "light";
|
|
6718
|
+
var colorFamily = id.replace(/-(light|dark)$/, "");
|
|
6719
|
+
return {
|
|
6720
|
+
id: id,
|
|
6721
|
+
colorFamily: colorFamily,
|
|
6722
|
+
mode: mode,
|
|
6723
|
+
labelKey: "aurora.theme.".concat(id),
|
|
6724
|
+
previewPrimary: readPrimaryDefault(config.colors),
|
|
6725
|
+
};
|
|
6726
|
+
}
|
|
6727
|
+
/** Entradas en el mismo orden que las claves de `themeColors`. */
|
|
6728
|
+
var AURORA_THEME_REGISTRY = Object.entries(themeColors).map(function (_a) {
|
|
6729
|
+
var id = _a[0], config = _a[1];
|
|
6730
|
+
return parseEntry(id, config);
|
|
6731
|
+
});
|
|
6732
|
+
function buildFamilies(entries) {
|
|
6733
|
+
var _a;
|
|
6734
|
+
var map = new Map();
|
|
6735
|
+
for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) {
|
|
6736
|
+
var entry = entries_1[_i];
|
|
6737
|
+
var slot = (_a = map.get(entry.colorFamily)) !== null && _a !== void 0 ? _a : {};
|
|
6738
|
+
if (entry.mode === "light") {
|
|
6739
|
+
slot.light = entry;
|
|
6740
|
+
}
|
|
6741
|
+
else {
|
|
6742
|
+
slot.dark = entry;
|
|
6743
|
+
}
|
|
6744
|
+
map.set(entry.colorFamily, slot);
|
|
6745
|
+
}
|
|
6746
|
+
return Array.from(map.entries())
|
|
6747
|
+
.map(function (_a) {
|
|
6748
|
+
var colorFamily = _a[0], _b = _a[1], light = _b.light, dark = _b.dark;
|
|
6749
|
+
return ({
|
|
6750
|
+
colorFamily: colorFamily,
|
|
6751
|
+
light: light,
|
|
6752
|
+
dark: dark,
|
|
6753
|
+
});
|
|
6754
|
+
})
|
|
6755
|
+
.sort(function (a, b) { return a.colorFamily.localeCompare(b.colorFamily); });
|
|
6756
|
+
}
|
|
6757
|
+
/** Familias de color (light + dark) para selectores tipo “Color de la plataforma”. */
|
|
6758
|
+
var AURORA_THEME_FAMILIES = buildFamilies(AURORA_THEME_REGISTRY);
|
|
6759
|
+
function isAuroraFullThemeId(value) {
|
|
6760
|
+
return value in themeColors;
|
|
6761
|
+
}
|
|
6762
|
+
/** Texto legible por defecto para tooltips (p. ej. `Ocean Mint · Light`). */
|
|
6763
|
+
function formatAuroraThemeTooltip(entry) {
|
|
6764
|
+
var family = entry.colorFamily
|
|
6765
|
+
.replace(/([A-Z])/g, " $1")
|
|
6766
|
+
.trim()
|
|
6767
|
+
.split(/\s+/)
|
|
6768
|
+
.map(function (w) { return w.charAt(0).toUpperCase() + w.slice(1).toLowerCase(); })
|
|
6769
|
+
.join(" ");
|
|
6770
|
+
var mode = entry.mode === "light" ? "Light" : "Dark";
|
|
6771
|
+
return "".concat(family, " \u00B7 ").concat(mode);
|
|
6772
|
+
}
|
|
6773
|
+
|
|
6519
6774
|
var THEME_COLOR_HEX_MAP = {
|
|
6520
6775
|
blue: "#006fee",
|
|
6521
6776
|
purple: "#7828c8",
|
|
@@ -6523,6 +6778,7 @@ var THEME_COLOR_HEX_MAP = {
|
|
|
6523
6778
|
green: "#16c964",
|
|
6524
6779
|
coral: "#ff4f4f",
|
|
6525
6780
|
skyBlue: "#60A5FA",
|
|
6781
|
+
oceanMint: "#26a5e5",
|
|
6526
6782
|
};
|
|
6527
6783
|
function hexToRgb$1(hex) {
|
|
6528
6784
|
var clean = hex.replace("#", "");
|
|
@@ -6706,11 +6962,6 @@ function removeCustomPrimaryColor() {
|
|
|
6706
6962
|
}
|
|
6707
6963
|
}
|
|
6708
6964
|
|
|
6709
|
-
/**
|
|
6710
|
-
* @file This file contains the theme configurations for the application.
|
|
6711
|
-
*/
|
|
6712
|
-
var ALL_THEMES = __spreadArray(["light", "dark"], Object.keys(themeColors), true);
|
|
6713
|
-
|
|
6714
6965
|
/**
|
|
6715
6966
|
* Custom hook to manage the theme state and side effects.
|
|
6716
6967
|
* Supports both named ThemeColor values and arbitrary hex colors.
|
|
@@ -6877,4 +7128,4 @@ var NavigationLoadingProvider = function (_a) {
|
|
|
6877
7128
|
return (jsxs(NavigationLoadingContext.Provider, { value: value, children: [children, jsx(NavigationLoadingOverlay, { isVisible: isVisible })] }));
|
|
6878
7129
|
};
|
|
6879
7130
|
|
|
6880
|
-
export { AccordionList, AddHolidayForm, AnalyticsCard, AreaLineChart, AuraAutocomplete, AuraTable, AuraToastProvider, BreadcrumbsComponent, Button, Card, Chip, ColorPicker, ColorSelector, ContentCarousel, DEFAULT_PREDEFINED_COLORS, DatePicker, DateRangePicker, DateSelector, DrawerFilters, EnumMenuNavListItem, GlobalToast, H1, H2, H3, H4, HeaderComponent, HolidayType, IconComponent, ImagePreview, Input, InputPassword, Kanban, KanbanCard, KanbanColumn, MenuComponent, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, MultiStepWizard, NavigationLoadingContext, NavigationLoadingOverlay, NavigationLoadingProvider, P, Pagination, Phone, PromotionalBanner, RangeFilter, RowSteps, DEFAULT_TRANSLATIONS$1 as SEGMENTATION_DEFAULT_TRANSLATIONS, ScheduleRow, SearchInput, SegmentationBuilder, Select, SimpleLineChart, SocialMediaBar, SocialMediaCarousel, SocialMediaPreview, StepIndicator, Switch as SwitchComponent, THEME_COLOR_HEX_MAP, TagsFilter, Textarea, ThemeContext, ThemePicker, ThemeProvider, TimeInput as TimeInputComponent, ToastContext, TwoColumnLayoutAgent, UploadFile, VerticalSteps, WhatsAppPreview, Wizard, WizardNavigation, WizardSidebar, applyCustomPrimaryColor, uniqueCountries as defaultCountries, defaultTranslations$4 as defaultTranslations, generateThemeColorScale, getContrastForeground, getSelectedKeyFromPath, hexToThemeColor, hslToCssValue, isExactThemeColor, isGroupState, isHexColor, isSegmentationGroup, removeCustomPrimaryColor, sizeMap, themeColors, useAuraToast, useMediaQuery, useNavigationLoading, useThemeContext };
|
|
7131
|
+
export { ALL_THEMES, AURORA_THEME_FAMILIES, AURORA_THEME_REGISTRY, AccordionList, AddHolidayForm, AnalyticsCard, AreaLineChart, AuraAutocomplete, AuraTable, AuraToastProvider, BreadcrumbsComponent, Button, Card, Chip, ColorPicker, ColorSelector, ContentCarousel, DEFAULT_PREDEFINED_COLORS, DatePicker, DateRangePicker, DateSelector, DrawerFilters, EnumMenuNavListItem, GlobalToast, H1, H2, H3, H4, HeaderComponent, HolidayType, IconComponent, ImagePreview, Input, InputPassword, Kanban, KanbanCard, KanbanColumn, MenuComponent, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, MultiStepWizard, NavigationLoadingContext, NavigationLoadingOverlay, NavigationLoadingProvider, P, Pagination, Phone, PromotionalBanner, REGISTERED_THEME_COLORS, RangeFilter, RowSteps, DEFAULT_TRANSLATIONS$1 as SEGMENTATION_DEFAULT_TRANSLATIONS, ScheduleRow, SearchInput, SegmentationBuilder, Select, SimpleLineChart, SocialMediaBar, SocialMediaCarousel, SocialMediaPreview, StepIndicator, Switch as SwitchComponent, THEME_COLOR_HEX_MAP, TagsFilter, Textarea, ThemeContext, ThemePicker, ThemeProvider, TimeInput as TimeInputComponent, ToastContext, TwoColumnLayoutAgent, UploadFile, VerticalSteps, WhatsAppPreview, Wizard, WizardNavigation, WizardSidebar, applyCustomPrimaryColor, uniqueCountries as defaultCountries, defaultTranslations$4 as defaultTranslations, formatAuroraThemeTooltip, generateThemeColorScale, getContrastForeground, getRegisteredThemeColorBases, getSelectedKeyFromPath, hexToThemeColor, hslToCssValue, isAuroraFullThemeId, isExactThemeColor, isGroupState, isHexColor, isSegmentationGroup, removeCustomPrimaryColor, sizeMap, themeColors, useAuraToast, useMediaQuery, useNavigationLoading, useThemeContext };
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { PlatformColorManagerProps } from "./ColorSelector.types";
|
|
3
|
+
/**
|
|
4
|
+
* One swatch per registered hue, using the palette for the **current** app light/dark mode.
|
|
5
|
+
* To preview dark variants the user must switch the app to dark mode (and vice versa).
|
|
6
|
+
*/
|
|
3
7
|
declare const ColorSelector: React.FC<PlatformColorManagerProps>;
|
|
4
8
|
export default ColorSelector;
|
|
5
9
|
//# sourceMappingURL=ColorSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/ColorSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ColorSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/color-selector/ColorSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAyBvE;;;GAGG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAwDtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ThemeMode = "light" | "dark";
|
|
2
|
-
export type ThemeColor = "purple" | "yellow" | "blue" | "green" | "coral" | "skyBlue";
|
|
2
|
+
export type ThemeColor = "purple" | "yellow" | "blue" | "green" | "coral" | "skyBlue" | "oceanMint";
|
|
3
3
|
export interface IThemeContext {
|
|
4
4
|
mode: ThemeMode;
|
|
5
5
|
color: ThemeColor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-context.type.d.ts","sourceRoot":"","sources":["../../../../src/contexts/theme/theme-context.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACzC,MAAM,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"theme-context.type.d.ts","sourceRoot":"","sources":["../../../../src/contexts/theme/theme-context.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACzC,MAAM,MAAM,UAAU,GACnB,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,OAAO,GACP,SAAS,GACT,WAAW,CAAC;AAEf,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,KAAK,IAAI,CAAC;CAC/C"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export { InputPassword, type InputPasswordProps, type PasswordCriterionItem, typ
|
|
|
71
71
|
export { SegmentationBuilder, type SegmentationBuilderProps, type SegmentationBuilderRef, type SegmentationBuilderTranslations, type SegmentationField, type SegmentationGroup, type SegmentationRule, type SegmentationFilter, type SegmentationTag, type SegmentationOperator, } from "./components/segmentation-builder";
|
|
72
72
|
export * from "./types/calendar.types";
|
|
73
73
|
export { themeColors } from "./styles/colors.default";
|
|
74
|
+
export * from "./themes";
|
|
74
75
|
export * from "./providers/theme";
|
|
75
76
|
export * from "./providers/toast";
|
|
76
77
|
export * from "./providers/navigation-loading";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAU9B,cAAc,eAAe,CAAC;AAG9B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAIvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB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CAAC;AACzD,OAAO,EACN,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACN,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,OAAO,GACZ,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACN,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GACzB,MAAM,mCAAmC,CAAC;AAG3C,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hex-to-theme-color.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/hex-to-theme-color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAE1E,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hex-to-theme-color.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/hex-to-theme-color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAE1E,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAQ1D,CAAC;AA2BF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjD;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CAQhE;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAevD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file This file contains the theme configurations for the application.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* An array of all available theme strings.
|
|
6
|
+
* Each theme is a combination of a color and a mode, e.g., "green-dark".
|
|
7
|
+
* @type {string[]}
|
|
8
|
+
*/
|
|
9
|
+
import type { ThemeColor } from "../../contexts/theme/theme-context.type";
|
|
4
10
|
export declare const ALL_THEMES: string[];
|
|
11
|
+
/**
|
|
12
|
+
* Unique hue ids derived from {@link themeColors} keys (e.g. `oceanMint` from `oceanMint-light`).
|
|
13
|
+
*/
|
|
14
|
+
export declare function getRegisteredThemeColorBases(): string[];
|
|
15
|
+
/**
|
|
16
|
+
* Same as {@link getRegisteredThemeColorBases} typed as {@link ThemeColor} for callers that expect the union.
|
|
17
|
+
* Keeps Storybook / pickers in sync when new `*-light` / `*-dark` pairs are added.
|
|
18
|
+
*/
|
|
19
|
+
export declare const REGISTERED_THEME_COLORS: ThemeColor[];
|
|
5
20
|
//# sourceMappingURL=theme.utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.utils.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/theme.utils.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"theme.utils.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/theme.utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;GAIG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAG1E,eAAO,MAAM,UAAU,UAAiD,CAAC;AAEzE;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,MAAM,EAAE,CAMvD;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,UAAU,EACD,CAAC"}
|
|
@@ -640,5 +640,159 @@ export declare const themeColors: {
|
|
|
640
640
|
overlay: string;
|
|
641
641
|
};
|
|
642
642
|
};
|
|
643
|
+
"oceanMint-light": {
|
|
644
|
+
extend: string;
|
|
645
|
+
colors: {
|
|
646
|
+
primary: {
|
|
647
|
+
"50": string;
|
|
648
|
+
"100": string;
|
|
649
|
+
"200": string;
|
|
650
|
+
"300": string;
|
|
651
|
+
"400": string;
|
|
652
|
+
"500": string;
|
|
653
|
+
"600": string;
|
|
654
|
+
"700": string;
|
|
655
|
+
"800": string;
|
|
656
|
+
"900": string;
|
|
657
|
+
foreground: string;
|
|
658
|
+
DEFAULT: string;
|
|
659
|
+
};
|
|
660
|
+
secondary: {
|
|
661
|
+
"50": string;
|
|
662
|
+
"100": string;
|
|
663
|
+
"200": string;
|
|
664
|
+
"300": string;
|
|
665
|
+
"400": string;
|
|
666
|
+
"500": string;
|
|
667
|
+
"600": string;
|
|
668
|
+
"700": string;
|
|
669
|
+
"800": string;
|
|
670
|
+
"900": string;
|
|
671
|
+
foreground: string;
|
|
672
|
+
DEFAULT: string;
|
|
673
|
+
};
|
|
674
|
+
success: {
|
|
675
|
+
"50": string;
|
|
676
|
+
"100": string;
|
|
677
|
+
"200": string;
|
|
678
|
+
"300": string;
|
|
679
|
+
"400": string;
|
|
680
|
+
"500": string;
|
|
681
|
+
"600": string;
|
|
682
|
+
"700": string;
|
|
683
|
+
"800": string;
|
|
684
|
+
"900": string;
|
|
685
|
+
foreground: string;
|
|
686
|
+
DEFAULT: string;
|
|
687
|
+
};
|
|
688
|
+
warning: {
|
|
689
|
+
"50": string;
|
|
690
|
+
"100": string;
|
|
691
|
+
"200": string;
|
|
692
|
+
"300": string;
|
|
693
|
+
"400": string;
|
|
694
|
+
"500": string;
|
|
695
|
+
"600": string;
|
|
696
|
+
"700": string;
|
|
697
|
+
"800": string;
|
|
698
|
+
"900": string;
|
|
699
|
+
foreground: string;
|
|
700
|
+
DEFAULT: string;
|
|
701
|
+
};
|
|
702
|
+
danger: {
|
|
703
|
+
"50": string;
|
|
704
|
+
"100": string;
|
|
705
|
+
"200": string;
|
|
706
|
+
"300": string;
|
|
707
|
+
"400": string;
|
|
708
|
+
"500": string;
|
|
709
|
+
"600": string;
|
|
710
|
+
"700": string;
|
|
711
|
+
"800": string;
|
|
712
|
+
"900": string;
|
|
713
|
+
foreground: string;
|
|
714
|
+
DEFAULT: string;
|
|
715
|
+
};
|
|
716
|
+
focus: string;
|
|
717
|
+
overlay: string;
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
"oceanMint-dark": {
|
|
721
|
+
extend: string;
|
|
722
|
+
colors: {
|
|
723
|
+
primary: {
|
|
724
|
+
"50": string;
|
|
725
|
+
"100": string;
|
|
726
|
+
"200": string;
|
|
727
|
+
"300": string;
|
|
728
|
+
"400": string;
|
|
729
|
+
"500": string;
|
|
730
|
+
"600": string;
|
|
731
|
+
"700": string;
|
|
732
|
+
"800": string;
|
|
733
|
+
"900": string;
|
|
734
|
+
foreground: string;
|
|
735
|
+
DEFAULT: string;
|
|
736
|
+
};
|
|
737
|
+
secondary: {
|
|
738
|
+
"50": string;
|
|
739
|
+
"100": string;
|
|
740
|
+
"200": string;
|
|
741
|
+
"300": string;
|
|
742
|
+
"400": string;
|
|
743
|
+
"500": string;
|
|
744
|
+
"600": string;
|
|
745
|
+
"700": string;
|
|
746
|
+
"800": string;
|
|
747
|
+
"900": string;
|
|
748
|
+
foreground: string;
|
|
749
|
+
DEFAULT: string;
|
|
750
|
+
};
|
|
751
|
+
success: {
|
|
752
|
+
"50": string;
|
|
753
|
+
"100": string;
|
|
754
|
+
"200": string;
|
|
755
|
+
"300": string;
|
|
756
|
+
"400": string;
|
|
757
|
+
"500": string;
|
|
758
|
+
"600": string;
|
|
759
|
+
"700": string;
|
|
760
|
+
"800": string;
|
|
761
|
+
"900": string;
|
|
762
|
+
foreground: string;
|
|
763
|
+
DEFAULT: string;
|
|
764
|
+
};
|
|
765
|
+
warning: {
|
|
766
|
+
"50": string;
|
|
767
|
+
"100": string;
|
|
768
|
+
"200": string;
|
|
769
|
+
"300": string;
|
|
770
|
+
"400": string;
|
|
771
|
+
"500": string;
|
|
772
|
+
"600": string;
|
|
773
|
+
"700": string;
|
|
774
|
+
"800": string;
|
|
775
|
+
"900": string;
|
|
776
|
+
foreground: string;
|
|
777
|
+
DEFAULT: string;
|
|
778
|
+
};
|
|
779
|
+
danger: {
|
|
780
|
+
"50": string;
|
|
781
|
+
"100": string;
|
|
782
|
+
"200": string;
|
|
783
|
+
"300": string;
|
|
784
|
+
"400": string;
|
|
785
|
+
"500": string;
|
|
786
|
+
"600": string;
|
|
787
|
+
"700": string;
|
|
788
|
+
"800": string;
|
|
789
|
+
"900": string;
|
|
790
|
+
foreground: string;
|
|
791
|
+
DEFAULT: string;
|
|
792
|
+
};
|
|
793
|
+
focus: string;
|
|
794
|
+
overlay: string;
|
|
795
|
+
};
|
|
796
|
+
};
|
|
643
797
|
};
|
|
644
798
|
//# sourceMappingURL=colors.default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.default.d.ts","sourceRoot":"","sources":["../../../src/styles/colors.default.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"colors.default.d.ts","sourceRoot":"","sources":["../../../src/styles/colors.default.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+xBvB,CAAC"}
|