diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts new file mode 100644 index 00000000..05da7d25 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts @@ -0,0 +1,109 @@ +import type { AviaryTheme } from "../types/themes"; +export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { + primary: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + info: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + warning: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + danger: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + highlight: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + system: { + textLabelEmphasis: string; + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + borderFocused: string; + }; + success: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; +}; +//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map new file mode 100644 index 00000000..3c1e9e83 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js new file mode 100644 index 00000000..e5da22d5 --- /dev/null +++ b/dist/helpers/colorProfileMapper.js @@ -0,0 +1,21 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.colorProfileMapper = void 0; + +// Used for mapping over selected `isColor` properties +var colorProfileMapper = function colorProfileMapper(currentTheme) { + return { + primary: currentTheme.primary, + info: currentTheme.info, + warning: currentTheme.warning, + danger: currentTheme.danger, + highlight: currentTheme.highlight, + system: currentTheme.system, + success: currentTheme.success + }; +}; + +exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts new file mode 100644 index 00000000..7a4a22d6 --- /dev/null +++ b/dist/helpers/index.d.ts @@ -0,0 +1,2 @@ +export * from "./colorProfileMapper"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map new file mode 100644 index 00000000..94ae4bb1 --- /dev/null +++ b/dist/helpers/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js new file mode 100644 index 00000000..155de21a --- /dev/null +++ b/dist/helpers/index.js @@ -0,0 +1,24 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _colorProfileMapper = require("./colorProfileMapper"); + +Object.keys(_colorProfileMapper).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _colorProfileMapper[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _colorProfileMapper[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 00000000..dcd56928 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,9 @@ +export * from "./helpers"; +export * from "./types"; +export * as borders from "../dist/tokens/ts/borders"; +export * as typography from "../dist/tokens/ts/typography"; +export * as lightThemeDocumentation from "../dist/documentation/themes/light"; +export * as darkThemeDocumentation from "../dist/documentation/themes/dark"; +export * as coreDarkDocumentation from "../dist/documentation/core-dark-colors"; +export * as coreLightDocumentation from "../dist/documentation/core-light-colors"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map new file mode 100644 index 00000000..666537dc --- /dev/null +++ b/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,uBAAuB,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,sBAAsB,MAAM,mCAAmC,CAAC;AAG5E,OAAO,KAAK,qBAAqB,MAAM,wCAAwC,CAAC;AAChF,OAAO,KAAK,sBAAsB,MAAM,yCAAyC,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 00000000..b653d350 --- /dev/null +++ b/dist/index.js @@ -0,0 +1,94 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + borders: true, + typography: true, + lightThemeDocumentation: true, + darkThemeDocumentation: true, + coreDarkDocumentation: true, + coreLightDocumentation: true +}; +exports.typography = exports.lightThemeDocumentation = exports.darkThemeDocumentation = exports.coreLightDocumentation = exports.coreDarkDocumentation = exports.borders = void 0; + +var _helpers = require("./helpers"); + +Object.keys(_helpers).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _helpers[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _helpers[key]; + } + }); +}); + +var _types = require("./types"); + +Object.keys(_types).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _types[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _types[key]; + } + }); +}); + +var _borders = _interopRequireWildcard(require("../dist/tokens/ts/borders")); + +exports.borders = _borders; + +var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); + +exports.typography = _typography; + +var _lightThemeDocumentation = _interopRequireWildcard(require("../dist/documentation/themes/light")); + +exports.lightThemeDocumentation = _lightThemeDocumentation; + +var _darkThemeDocumentation = _interopRequireWildcard(require("../dist/documentation/themes/dark")); + +exports.darkThemeDocumentation = _darkThemeDocumentation; + +var _coreDarkDocumentation = _interopRequireWildcard(require("../dist/documentation/core-dark-colors")); + +exports.coreDarkDocumentation = _coreDarkDocumentation; + +var _coreLightDocumentation = _interopRequireWildcard(require("../dist/documentation/core-light-colors")); + +exports.coreLightDocumentation = _coreLightDocumentation; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/types/accents.d.ts b/dist/types/accents.d.ts new file mode 100644 index 00000000..f05772b4 --- /dev/null +++ b/dist/types/accents.d.ts @@ -0,0 +1,8 @@ +declare const AVIARY_ACCENTS: { + forest: string; + sand: string; +}; +declare type AviaryAccents = keyof typeof AVIARY_ACCENTS; +export type { AviaryAccents }; +export { AVIARY_ACCENTS }; +//# sourceMappingURL=accents.d.ts.map \ No newline at end of file diff --git a/dist/types/accents.d.ts.map b/dist/types/accents.d.ts.map new file mode 100644 index 00000000..b2bd7f17 --- /dev/null +++ b/dist/types/accents.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"accents.d.ts","sourceRoot":"","sources":["../../src/types/accents.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,cAAc;;;CAGnB,CAAC;AAEF,aAAK,aAAa,GAAG,MAAM,OAAO,cAAc,CAAC;AAEjD,YAAY,EAAE,aAAa,EAAE,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/accents.js b/dist/types/accents.js new file mode 100644 index 00000000..4c036bd7 --- /dev/null +++ b/dist/types/accents.js @@ -0,0 +1,11 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.AVIARY_ACCENTS = void 0; +var AVIARY_ACCENTS = { + forest: "forest", + sand: "sand" +}; +exports.AVIARY_ACCENTS = AVIARY_ACCENTS; \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts new file mode 100644 index 00000000..3bbc9771 --- /dev/null +++ b/dist/types/index.d.ts @@ -0,0 +1,5 @@ +export * from "./accents"; +export * from "./interfaces"; +export * from "./profiles"; +export * from "./intentions"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map new file mode 100644 index 00000000..1ff8e49a --- /dev/null +++ b/dist/types/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js new file mode 100644 index 00000000..1acfb9c1 --- /dev/null +++ b/dist/types/index.js @@ -0,0 +1,63 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _accents = require("./accents"); + +Object.keys(_accents).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _accents[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _accents[key]; + } + }); +}); + +var _interfaces = require("./interfaces"); + +Object.keys(_interfaces).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _interfaces[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _interfaces[key]; + } + }); +}); + +var _profiles = require("./profiles"); + +Object.keys(_profiles).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _profiles[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _profiles[key]; + } + }); +}); + +var _intentions = require("./intentions"); + +Object.keys(_intentions).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _intentions[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _intentions[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/types/intentions.d.ts b/dist/types/intentions.d.ts new file mode 100644 index 00000000..549a7988 --- /dev/null +++ b/dist/types/intentions.d.ts @@ -0,0 +1,16 @@ +declare const AVIARY_INTENTIONS: { + primary: string; + system: string; + danger: string; + success: string; + textSuccess: string; + textSystem: string; + textDanger: string; + lightFilled: string; + lightOutlined: string; + lightText: string; +}; +declare type AviaryIntentions = keyof typeof AVIARY_INTENTIONS; +export type { AviaryIntentions }; +export { AVIARY_INTENTIONS }; +//# sourceMappingURL=intentions.d.ts.map \ No newline at end of file diff --git a/dist/types/intentions.d.ts.map b/dist/types/intentions.d.ts.map new file mode 100644 index 00000000..1f79d160 --- /dev/null +++ b/dist/types/intentions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"intentions.d.ts","sourceRoot":"","sources":["../../src/types/intentions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,iBAAiB;;;;;;;;;;;CAWtB,CAAC;AAEF,aAAK,gBAAgB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAEvD,YAAY,EAAE,gBAAgB,EAAE,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/intentions.js b/dist/types/intentions.js new file mode 100644 index 00000000..85242ea9 --- /dev/null +++ b/dist/types/intentions.js @@ -0,0 +1,19 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.AVIARY_INTENTIONS = void 0; +var AVIARY_INTENTIONS = { + primary: "primary", + system: "system", + danger: "danger", + success: "success", + textSuccess: "textSuccess", + textSystem: "textSystem", + textDanger: "textDanger", + lightFilled: "lightFilled", + lightOutlined: "lightOutlined", + lightText: "lightText" +}; +exports.AVIARY_INTENTIONS = AVIARY_INTENTIONS; \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts new file mode 100644 index 00000000..ab0bd272 --- /dev/null +++ b/dist/types/interfaces.d.ts @@ -0,0 +1,30 @@ +declare const AVIARY_COLORS: { + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; + success: string; +}; +declare const EXTENDED_AVIARY_COLORS: { + light: string; + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; + success: string; +}; +declare type AviaryColors = keyof typeof AVIARY_COLORS; +declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; +interface AviaryColorProps { + isColor?: AviaryColors; +} +interface AviaryExtendedColorProps { + isColor?: ExtendedAviaryColors; +} +export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; +export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; +//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map new file mode 100644 index 00000000..57492602 --- /dev/null +++ b/dist/types/interfaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;CAQlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js new file mode 100644 index 00000000..900be27c --- /dev/null +++ b/dist/types/interfaces.js @@ -0,0 +1,43 @@ +"use strict"; + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.array.filter.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.get-own-property-descriptors.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var AVIARY_COLORS = { + primary: "primary", + info: "info", + warning: "warning", + danger: "danger", + highlight: "highlight", + system: "system", + success: "success" +}; +exports.AVIARY_COLORS = AVIARY_COLORS; + +var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { + light: "light" +}); + +exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts new file mode 100644 index 00000000..34f9245b --- /dev/null +++ b/dist/types/profiles.d.ts @@ -0,0 +1,6 @@ +import type * as light from "../../dist/tokens/ts/themes/light.d"; +declare type StandardColorsProfileTheme = typeof light.primary; +declare type SystemColorProfileTheme = typeof light.system; +declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; +export type { ColorProfileTheme, StandardColorsProfileTheme }; +//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map new file mode 100644 index 00000000..6599f033 --- /dev/null +++ b/dist/types/profiles.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js new file mode 100644 index 00000000..430afc16 --- /dev/null +++ b/dist/types/profiles.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts new file mode 100644 index 00000000..89e46216 --- /dev/null +++ b/dist/types/themes.d.ts @@ -0,0 +1,8 @@ +import * as light from "../../dist/tokens/ts/themes/light"; +import * as lightDS3 from "../../dist/tokens/ts/themes/lightDS3"; +import * as dark from "../../dist/tokens/ts/themes/dark"; +import * as emerson from "../../dist/tokens/ts/themes/emerson"; +declare type AviaryTheme = typeof light; +export { dark, light, emerson, lightDS3 }; +export type { AviaryTheme }; +//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map new file mode 100644 index 00000000..6e0acf98 --- /dev/null +++ b/dist/types/themes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAC3D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAC;AACjE,OAAO,KAAK,IAAI,MAAM,kCAAkC,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAC;AAE/D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;AAC1C,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js new file mode 100644 index 00000000..dab7d546 --- /dev/null +++ b/dist/types/themes.js @@ -0,0 +1,46 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.lightDS3 = exports.light = exports.emerson = exports.dark = void 0; + +var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); + +exports.light = light; + +var lightDS3 = _interopRequireWildcard(require("../../dist/tokens/ts/themes/lightDS3")); + +exports.lightDS3 = lightDS3; + +var dark = _interopRequireWildcard(require("../../dist/tokens/ts/themes/dark")); + +exports.dark = dark; + +var emerson = _interopRequireWildcard(require("../../dist/tokens/ts/themes/emerson")); + +exports.emerson = emerson; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file