ost-components 0.0.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.
Files changed (76) hide show
  1. package/README.md +136 -0
  2. package/dist/896f1dcf256d0c8af555.svg +3 -0
  3. package/dist/components/Button/Button.d.ts +16 -0
  4. package/dist/components/Button/Button.d.ts.map +1 -0
  5. package/dist/components/Button/index.css +165 -0
  6. package/dist/components/Button/index.d.ts +2 -0
  7. package/dist/components/Button/index.d.ts.map +1 -0
  8. package/dist/components/Button/index.js +1 -0
  9. package/dist/components/FAQ/FAQ.d.ts +20 -0
  10. package/dist/components/FAQ/FAQ.d.ts.map +1 -0
  11. package/dist/components/FAQ/index.css +101 -0
  12. package/dist/components/FAQ/index.d.ts +2 -0
  13. package/dist/components/FAQ/index.d.ts.map +1 -0
  14. package/dist/components/FAQ/index.js +1 -0
  15. package/dist/components/Footer/Footer.d.ts +12 -0
  16. package/dist/components/Footer/Footer.d.ts.map +1 -0
  17. package/dist/components/Footer/index.css +411 -0
  18. package/dist/components/Footer/index.d.ts +2 -0
  19. package/dist/components/Footer/index.d.ts.map +1 -0
  20. package/dist/components/Footer/index.js +1 -0
  21. package/dist/components/Header/Header.d.ts +21 -0
  22. package/dist/components/Header/Header.d.ts.map +1 -0
  23. package/dist/components/Header/Modal.d.ts +1 -0
  24. package/dist/components/Header/Modal.d.ts.map +1 -0
  25. package/dist/components/Header/index.css +321 -0
  26. package/dist/components/Header/index.d.ts +3 -0
  27. package/dist/components/Header/index.d.ts.map +1 -0
  28. package/dist/components/Header/index.js +1 -0
  29. package/dist/components/Heading/Heading.d.ts +11 -0
  30. package/dist/components/Heading/Heading.d.ts.map +1 -0
  31. package/dist/components/Heading/index.css +46 -0
  32. package/dist/components/Heading/index.d.ts +3 -0
  33. package/dist/components/Heading/index.d.ts.map +1 -0
  34. package/dist/components/Heading/index.js +1 -0
  35. package/dist/components/HotelCard/HotelCard.d.ts +18 -0
  36. package/dist/components/HotelCard/HotelCard.d.ts.map +1 -0
  37. package/dist/components/HotelCard/index.css +150 -0
  38. package/dist/components/HotelCard/index.d.ts +3 -0
  39. package/dist/components/HotelCard/index.d.ts.map +1 -0
  40. package/dist/components/HotelCard/index.js +1 -0
  41. package/dist/components/Text/Text.d.ts +12 -0
  42. package/dist/components/Text/Text.d.ts.map +1 -0
  43. package/dist/components/Text/index.css +65 -0
  44. package/dist/components/Text/index.d.ts +3 -0
  45. package/dist/components/Text/index.d.ts.map +1 -0
  46. package/dist/components/Text/index.js +1 -0
  47. package/dist/components/index.d.ts +10 -0
  48. package/dist/components/index.d.ts.map +1 -0
  49. package/dist/index.css +741 -0
  50. package/dist/index.d.ts +3 -0
  51. package/dist/index.d.ts.map +1 -0
  52. package/dist/index.js +1 -0
  53. package/dist/store/fluidMode.d.ts +37 -0
  54. package/dist/store/fluidMode.d.ts.map +1 -0
  55. package/dist/store/fluidMode.js +1 -0
  56. package/dist/storybook/decorator.d.ts +3 -0
  57. package/dist/storybook/decorator.d.ts.map +1 -0
  58. package/dist/themes/layout.d.ts +3 -0
  59. package/dist/themes/layout.d.ts.map +1 -0
  60. package/dist/themes/ostrovok/index.css +8 -0
  61. package/dist/themes/ostrovok/index.d.ts +9 -0
  62. package/dist/themes/ostrovok/index.d.ts.map +1 -0
  63. package/dist/themes/ostrovok/index.js +1 -0
  64. package/dist/themes/ostrovok/ostrovok.d.ts +64 -0
  65. package/dist/themes/ostrovok/ostrovok.d.ts.map +1 -0
  66. package/dist/themes/ostrovok/ostrovok.js +1 -0
  67. package/dist/utils/classes.d.ts +2 -0
  68. package/dist/utils/classes.d.ts.map +1 -0
  69. package/dist/utils/index.d.ts +3 -0
  70. package/dist/utils/index.d.ts.map +1 -0
  71. package/dist/utils/index.js +1 -0
  72. package/dist/utils/isValidEmail.d.ts +2 -0
  73. package/dist/utils/isValidEmail.d.ts.map +1 -0
  74. package/dist/utils/throttle.d.ts +2 -0
  75. package/dist/utils/throttle.d.ts.map +1 -0
  76. package/package.json +147 -0
@@ -0,0 +1,65 @@
1
+ .layout-module__fluidLayout--BNE04[class] {
2
+ font-size: 1rem;
3
+ }
4
+
5
+ .layout-module__staticLayout--x_6dR[class] {
6
+ font-size: 1px;
7
+ }
8
+
9
+ .Text-module__root--sYLHk {
10
+ font-family: var(--font-family);
11
+ font-weight: 400;
12
+ margin: 0;
13
+ }
14
+
15
+ .Text-module__text--Z2j5F {
16
+ font-size: var(--fs);
17
+ line-height: var(--lh);
18
+ }
19
+
20
+ .Text-module__xxl--CYHJa {
21
+ --fs: 40em;
22
+ --lh: 1.1;
23
+ }
24
+
25
+ .Text-module__xl-wide--zDvmm {
26
+ --fs: 32em;
27
+ --lh: 1.25;
28
+ }
29
+
30
+ .Text-module__xl-narrow--SfZP0 {
31
+ --fs: 32em;
32
+ --lh: 1.1875;
33
+ }
34
+
35
+ .Text-module__l2-wide--zM0wM {
36
+ --fs: 24em;
37
+ --lh: 1.333;
38
+ font-weight: 500;
39
+ }
40
+
41
+ .Text-module__l-wide--qduSX {
42
+ --fs: 24em;
43
+ --lh: 1.333;
44
+ }
45
+
46
+ .Text-module__l-narrow--UjfZa {
47
+ --fs: 24em;
48
+ --lh: 1.166;
49
+ }
50
+
51
+ .Text-module__m--vcUB_ {
52
+ --fs: 18em;
53
+ --lh: 1.333;
54
+ }
55
+
56
+ .Text-module__cap-s--BvqfO {
57
+ --fs: 16em;
58
+ --lh: 1.125;
59
+ }
60
+
61
+ .Text-module__cap-xs--BQZgf {
62
+ --fs: 14em;
63
+ --lh: 1.142;
64
+ }
65
+
@@ -0,0 +1,3 @@
1
+ export * from './Text';
2
+ export { default } from './Text';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ import*as o from"react/jsx-runtime";var t={39:(o,t,e)=>{e.d(t,{L:()=>n});const n=(...o)=>o.filter(Boolean).join(" ")},58:(o,t,e)=>{e.d(t,{N:()=>a,u:()=>f}),e(178);var n=e(992);const a=({theme:o,children:t,fluidMode:e=!1})=>{fluidModeState.state=e;const n=[];Object.entries(o).forEach(([o,t])=>{n.push(`--${o}: ${t}`)});const a=`\n @font-face {\n font-family: 'FactorA';\n src: url('https://of.worldota.net/fonts/factora/Factor-A-Regular-Web.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'FactorA';\n src: url('https://of.worldota.net/fonts/factora/Factor-A-Medium-Web.woff2') format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n }\n \n @font-face {\n font-family: 'Spoof';\n src: url('https://of.worldota.net/fonts/spoof/Spoof-Regular.woff2') format('woff2');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n }\n\n @font-face {\n font-family: 'Spoof';\n src: url('https://of.worldota.net/fonts/spoof/Spoof-Medium.woff2') format('woff2');\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n }\n\n :root {\n ${n.join(";\n")};\n }\n ${e?fluidLayoutCss:staticLayoutCss};\n `;return _jsxs(_Fragment,{children:[_jsx("style",{dangerouslySetInnerHTML:{__html:a}}),t]})},f=o=>("boolean"==typeof o?o:n.b.state)?"layout-module__fluidLayout--BNE04":"layout-module__staticLayout--x_6dR"},178:(t,e,n)=>{var a,f;t.exports=(a={jsx:()=>o.jsx},f={},n.d(f,a),f)},992:(o,t,e)=>{e.d(t,{b:()=>n}),globalThis.__fluidModeState||(globalThis.__fluidModeState={state:!1});const n=globalThis.__fluidModeState}},e={};function n(o){var a=e[o];if(void 0!==a)return a.exports;var f=e[o]={exports:{}};return t[o](f,f.exports,n),f.exports}n.d=(o,t)=>{for(var e in t)n.o(t,e)&&!n.o(o,e)&&Object.defineProperty(o,e,{enumerable:!0,get:t[e]})},n.o=(o,t)=>Object.prototype.hasOwnProperty.call(o,t);var a=n(178),f=n(58),l=n(39);const r={root:"Text-module__root--sYLHk",text:"Text-module__text--Z2j5F",xxl:"Text-module__xxl--CYHJa","xl-wide":"Text-module__xl-wide--zDvmm","xl-narrow":"Text-module__xl-narrow--SfZP0","l2-wide":"Text-module__l2-wide--zM0wM","l-wide":"Text-module__l-wide--qduSX","l-narrow":"Text-module__l-narrow--UjfZa",m:"Text-module__m--vcUB_","cap-s":"Text-module__cap-s--BvqfO","cap-xs":"Text-module__cap-xs--BQZgf"},s=({size:o="m",children:t,className:e="",tag:n="div",fluidMode:s})=>{const d=r[o]||"",i=n,u=(0,f.u)(s);return(0,a.jsx)(i,{className:(0,l.L)(r.root,d,e,u),children:(0,a.jsx)("span",{className:r.text,children:t})})};export{s as default};
@@ -0,0 +1,10 @@
1
+ export { default as Button } from './Button';
2
+ export { default as FAQ } from './FAQ';
3
+ export { default as Footer } from './Footer';
4
+ export type { HeaderProps } from './Header';
5
+ export { default as Header } from './Header';
6
+ export { default as Heading } from './Heading';
7
+ export type { HotelCardProps } from './HotelCard';
8
+ export { default as HotelCard } from './HotelCard';
9
+ export { default as Text } from './Text';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAE7C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC"}