@maelstrom-futurism/core 0.8.2 → 0.9.1

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.
@@ -8,6 +8,8 @@ export interface ColorSet {
8
8
  linkColor: string;
9
9
  primary: string;
10
10
  secondary: string;
11
+ focus: string;
12
+ active: string;
11
13
  alert: string;
12
14
  warning: string;
13
15
  success: string;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../lib/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,WAAW,QAAQ;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,eAAe,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../lib/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,WAAW,QAAQ;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,eAAe,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
@@ -0,0 +1,2 @@
1
+ export declare const EASE_FUNCTION = "cubic-bezier(.65, .05, .36, 1)";
2
+ //# sourceMappingURL=motion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../lib/motion.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,mCAAmC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../lib/themes/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAA6B,MAAM,OAAO,CAAC;AASpE,OAAO,KAAK,MAAM,SAAS,CAAC;AAI5B,eAAO,MAAM,QAAQ,aAAiC,CAAC;AAEvD,UAAU,kBAAkB;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,GAAI,qBAAqB,kBAAkB,KAAG,SA6EvE,CAAC"}
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../lib/themes/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA6B,MAAM,OAAO,CAAC;AAS7D,OAAO,KAAK,MAAM,SAAS,CAAC;AAK5B,eAAO,MAAM,QAAQ,aAAiC,CAAC;AAEvD,UAAU,kBAAkB;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,GAAI,qBAAqB,kBAAkB,KAAG,SA4PvE,CAAC"}
@@ -1,4 +1,40 @@
1
+ import { ColorSet } from '../interfaces';
1
2
  import { default as Theme } from './theme';
2
3
  export type ColorSetName = 'nordDark' | 'nordLight';
3
- export declare const createTheme: (colorSetName: ColorSetName) => Theme;
4
+ export interface ThemeOverrides {
5
+ colors?: Partial<ColorSet>;
6
+ radii?: {
7
+ input?: string;
8
+ button?: string;
9
+ card?: string;
10
+ pill?: string;
11
+ };
12
+ sizes?: {
13
+ base?: string;
14
+ sm?: string;
15
+ normal?: string;
16
+ md?: string;
17
+ lg?: string;
18
+ xl?: string;
19
+ xxl?: string;
20
+ };
21
+ durations?: {
22
+ fast?: string;
23
+ normal?: string;
24
+ slow?: string;
25
+ ripple?: string;
26
+ };
27
+ lineHeights?: {
28
+ tight?: string;
29
+ normal?: string;
30
+ relaxed?: string;
31
+ };
32
+ letterSpacings?: {
33
+ tight?: string;
34
+ normal?: string;
35
+ wide?: string;
36
+ display?: string;
37
+ };
38
+ }
39
+ export declare const createTheme: (colorSetName: ColorSetName, overrides?: ThemeOverrides) => Theme;
4
40
  //# sourceMappingURL=createTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../../lib/themes/createTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,SAAS,CAAC;AAQ5B,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,WAAW,CAAC;AA+DpD,eAAO,MAAM,WAAW,GAAI,cAAc,YAAY,UACM,CAAC"}
1
+ {"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../../lib/themes/createTheme.ts"],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AAc,YAAY,EAAE,YAAY,cAAc,KAAG,KAgCpF,CAAC"}
@@ -1,35 +1,46 @@
1
1
  import { ColorSet, ThemeInterface } from '../interfaces';
2
+ import { SIZES } from '../tokens';
2
3
  export type ColorMode = "Light" | "Dark" | "User";
3
4
  declare class Theme {
4
5
  readonly colors: ColorSet;
5
- sizes: {
6
- base: string;
7
- sm: string;
8
- normal: string;
9
- md: string;
10
- lg: string;
11
- xl: string;
12
- xxl: string;
13
- };
6
+ sizes: Record<keyof typeof SIZES, string>;
14
7
  breakpoints: {
15
- xs: string;
16
- sm: string;
17
- md: string;
18
- lg: string;
8
+ xs: "0px";
9
+ sm: "576px";
10
+ md: "992px";
11
+ lg: "1200px";
19
12
  };
20
- space: string[];
13
+ space: ("0" | "4" | "8" | "16" | "24" | "32" | "40" | "48" | "64")[];
21
14
  heights: {
22
- bottom: string;
23
- low: string;
24
- sunk: string;
25
- normal: string;
26
- raised: string;
27
- high: string;
28
- top: string;
15
+ bottom: "-1000";
16
+ low: "-100";
17
+ sunk: "-10";
18
+ normal: "0";
19
+ raised: "10";
20
+ high: "100";
21
+ top: "1000";
29
22
  };
30
23
  borderRadius: string;
31
24
  inputRadius: string;
32
25
  buttonRadius: string;
26
+ pillRadius: string;
27
+ durations: {
28
+ fast: string;
29
+ normal: string;
30
+ slow: string;
31
+ ripple: string;
32
+ };
33
+ lineHeights: {
34
+ tight: string;
35
+ normal: string;
36
+ relaxed: string;
37
+ };
38
+ letterSpacings: {
39
+ tight: string;
40
+ normal: string;
41
+ wide: string;
42
+ display: string;
43
+ };
33
44
  size(name: string): string;
34
45
  color: (name: keyof typeof this.colors) => string;
35
46
  bp: (name: keyof typeof this.breakpoints) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../lib/themes/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGzD,MAAM,MAAM,SAAS,GAAG,O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AE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAuB;IAEtF,cAAc,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAA0B;IAE1G,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI1B,KAAK,GAAI,MAAM,MAAM,OAAO,IAAI,CAAC,MAAM,KAAG,MAAM,CAAsB;IACtE,EAAE,GAAI,MAAM,MAAM,OAAO,IAAI,CAAC,WAAW,KAAG,MAAM,CAA2B;IAC7E,MAAM,GAAI,MAAM,MAAM,KAAG,MAAM,CAAoD;gBAEvE,WAAW,EAAE,cAAc;CAGxC;AAED,eAAe,KAAK,CAAC"}
@@ -0,0 +1,43 @@
1
+ export declare const SIZES: {
2
+ readonly base: "16px";
3
+ readonly sm: "0.707em";
4
+ readonly normal: "1em";
5
+ readonly md: "1.414em";
6
+ readonly lg: "2em";
7
+ readonly xl: "2.827em";
8
+ readonly xxl: "4em";
9
+ };
10
+ export declare const SPACES: readonly ["0", "4", "8", "16", "24", "32", "40", "48", "64"];
11
+ export declare const BREAKPOINTS: {
12
+ readonly xs: "0px";
13
+ readonly sm: "576px";
14
+ readonly md: "992px";
15
+ readonly lg: "1200px";
16
+ };
17
+ export declare const HEIGHTS: {
18
+ readonly bottom: "-1000";
19
+ readonly low: "-100";
20
+ readonly sunk: "-10";
21
+ readonly normal: "0";
22
+ readonly raised: "10";
23
+ readonly high: "100";
24
+ readonly top: "1000";
25
+ };
26
+ export declare const RADII: {
27
+ readonly input: "8px";
28
+ readonly button: "16px";
29
+ readonly card: "24px";
30
+ readonly pill: "9999px";
31
+ };
32
+ export declare const LINE_HEIGHTS: {
33
+ readonly tight: "1.2";
34
+ readonly normal: "1.5";
35
+ readonly relaxed: "1.6";
36
+ };
37
+ export declare const LETTER_SPACINGS: {
38
+ readonly tight: "-0.01em";
39
+ readonly normal: "0";
40
+ readonly wide: "0.04em";
41
+ readonly display: "0.06em";
42
+ };
43
+ //# sourceMappingURL=tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../lib/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;CAQR,CAAC;AAEX,eAAO,MAAM,MAAM,8DAA+D,CAAC;AAEnF,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;;;;CAQV,CAAC;AAEX,eAAO,MAAM,KAAK;;;;;CAKR,CAAC;AAEX,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maelstrom-futurism/core",
3
- "version": "0.8.2",
3
+ "version": "0.9.1",
4
4
  "description": "Core package for shared resources in Maelstrom Futurism",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,5 +29,5 @@
29
29
  "url": "https://github.com/DawsonG/maelstrom-futurism/issues"
30
30
  },
31
31
  "homepage": "https://github.com/DawsonG/maelstrom-futurism#readme",
32
- "gitHead": "c3d50c9a2715902356717c42dacb4db12295e633"
32
+ "gitHead": "e70900f407baeb2e060065ccaee259390e686ca6"
33
33
  }
@@ -1,8 +0,0 @@
1
- @use 'sass:meta';
2
- @use './_variables.module' as vars;
3
-
4
- :export {
5
- @each $key, $value in meta.module-variables(vars) {
6
- #{$key}: $value;
7
- }
8
- }
@@ -1,28 +0,0 @@
1
- @use 'sass:list';
2
-
3
- $spaces: (0, 4, 8, 16, 24, 32, 40, 48, 64);
4
-
5
- $sizes-base: 16px;
6
- $sizes-sm: 0.707em;
7
- $sizes-normal: 1em;
8
- $sizes-md: 1.414em;
9
- $sizes-lg: 2em;
10
- $sizes-xl: 2.827em;
11
- $sizes-xxl: 4em;
12
-
13
- $bp-xs: 0px;
14
- $bp-sm: 576px;
15
- $bp-md: 992px;
16
- $bp-lg: 1200px;
17
-
18
- $height-bottom: -1000;
19
- $height-low: -100;
20
- $height-sunk: -10;
21
- $height-normal: 0;
22
- $height-raised: 10;
23
- $height-high: 100;
24
- $height-top: 1000;
25
-
26
- $border-radius: #{list.nth($spaces, 5)}px;
27
- $input-radius: #{list.nth($spaces, 2)}px;
28
- $button-radius: #{list.nth($spaces, 3)}px;
@@ -1 +0,0 @@
1
- var e,t={exports:{}},r={};var o,n,c,f,a={};function s(){return n||(n=1,"production"===process.env.NODE_ENV?t.exports=function(){if(e)return r;e=1;var t="function"==typeof Symbol&&Symbol.for,o=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,c=t?Symbol.for("react.fragment"):60107,f=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,i=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,y=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,l=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,d=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,$=t?Symbol.for("react.block"):60121,S=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,P=t?Symbol.for("react.scope"):60119;function M(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case y:case c:case a:case f:case l:return e;default:switch(e=e&&e.$$typeof){case i:case p:case b:case d:case s:return e;default:return t}}case n:return t}}}function g(e){return M(e)===y}return r.AsyncMode=u,r.ConcurrentMode=y,r.ContextConsumer=i,r.ContextProvider=s,r.Element=o,r.ForwardRef=p,r.Fragment=c,r.Lazy=b,r.Memo=d,r.Portal=n,r.Profiler=a,r.StrictMode=f,r.Suspense=l,r.isAsyncMode=function(e){return g(e)||M(e)===u},r.isConcurrentMode=g,r.isContextConsumer=function(e){return M(e)===i},r.isContextProvider=function(e){return M(e)===s},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},r.isForwardRef=function(e){return M(e)===p},r.isFragment=function(e){return M(e)===c},r.isLazy=function(e){return M(e)===b},r.isMemo=function(e){return M(e)===d},r.isPortal=function(e){return M(e)===n},r.isProfiler=function(e){return M(e)===a},r.isStrictMode=function(e){return M(e)===f},r.isSuspense=function(e){return M(e)===l},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===c||e===y||e===a||e===f||e===l||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===d||e.$$typeof===s||e.$$typeof===i||e.$$typeof===p||e.$$typeof===S||e.$$typeof===v||e.$$typeof===P||e.$$typeof===$)},r.typeOf=M,r}():t.exports=(o||(o=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,i=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function P(e){if("object"==typeof e&&null!==e){var a=e.$$typeof;switch(a){case t:var l=e.type;switch(l){case i:case u:case o:case c:case n:case p:return l;default:var b=l&&l.$$typeof;switch(b){case s:case y:case d:case m:case f:return b;default:return a}}case r:return a}}}var M=i,g=u,x=s,w=f,C=t,h=y,O=o,j=d,_=m,E=r,F=c,T=n,N=p,R=!1;function z(e){return P(e)===u}a.AsyncMode=M,a.ConcurrentMode=g,a.ContextConsumer=x,a.ContextProvider=w,a.Element=C,a.ForwardRef=h,a.Fragment=O,a.Lazy=j,a.Memo=_,a.Portal=E,a.Profiler=F,a.StrictMode=T,a.Suspense=N,a.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),z(e)||P(e)===i},a.isConcurrentMode=z,a.isContextConsumer=function(e){return P(e)===s},a.isContextProvider=function(e){return P(e)===f},a.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},a.isForwardRef=function(e){return P(e)===y},a.isFragment=function(e){return P(e)===o},a.isLazy=function(e){return P(e)===d},a.isMemo=function(e){return P(e)===m},a.isPortal=function(e){return P(e)===r},a.isProfiler=function(e){return P(e)===c},a.isStrictMode=function(e){return P(e)===n},a.isSuspense=function(e){return P(e)===p},a.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===c||e===n||e===p||e===l||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===y||e.$$typeof===$||e.$$typeof===S||e.$$typeof===v||e.$$typeof===b)},a.typeOf=P}()),a)),t.exports}!function(){if(f)return c;f=1;var e=s(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};function a(r){return e.isMemo(r)?o:n[r.$$typeof]||t}n[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n[e.Memo]=o;var i=Object.defineProperty,u=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,m=Object.prototype;c=function e(t,o,n){if("string"!=typeof o){if(m){var c=l(o);c&&c!==m&&e(t,c,n)}var f=u(o);y&&(f=f.concat(y(o)));for(var s=a(t),d=a(o),b=0;b<f.length;++b){var $=f[b];if(!(r[$]||n&&n[$]||d&&d[$]||s&&s[$])){var S=p(o,$);try{i(t,$,S)}catch(v){}}}}return t}}();