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.
- package/README.md +136 -0
- package/dist/896f1dcf256d0c8af555.svg +3 -0
- package/dist/components/Button/Button.d.ts +16 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/index.css +165 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/FAQ/FAQ.d.ts +20 -0
- package/dist/components/FAQ/FAQ.d.ts.map +1 -0
- package/dist/components/FAQ/index.css +101 -0
- package/dist/components/FAQ/index.d.ts +2 -0
- package/dist/components/FAQ/index.d.ts.map +1 -0
- package/dist/components/FAQ/index.js +1 -0
- package/dist/components/Footer/Footer.d.ts +12 -0
- package/dist/components/Footer/Footer.d.ts.map +1 -0
- package/dist/components/Footer/index.css +411 -0
- package/dist/components/Footer/index.d.ts +2 -0
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/Footer/index.js +1 -0
- package/dist/components/Header/Header.d.ts +21 -0
- package/dist/components/Header/Header.d.ts.map +1 -0
- package/dist/components/Header/Modal.d.ts +1 -0
- package/dist/components/Header/Modal.d.ts.map +1 -0
- package/dist/components/Header/index.css +321 -0
- package/dist/components/Header/index.d.ts +3 -0
- package/dist/components/Header/index.d.ts.map +1 -0
- package/dist/components/Header/index.js +1 -0
- package/dist/components/Heading/Heading.d.ts +11 -0
- package/dist/components/Heading/Heading.d.ts.map +1 -0
- package/dist/components/Heading/index.css +46 -0
- package/dist/components/Heading/index.d.ts +3 -0
- package/dist/components/Heading/index.d.ts.map +1 -0
- package/dist/components/Heading/index.js +1 -0
- package/dist/components/HotelCard/HotelCard.d.ts +18 -0
- package/dist/components/HotelCard/HotelCard.d.ts.map +1 -0
- package/dist/components/HotelCard/index.css +150 -0
- package/dist/components/HotelCard/index.d.ts +3 -0
- package/dist/components/HotelCard/index.d.ts.map +1 -0
- package/dist/components/HotelCard/index.js +1 -0
- package/dist/components/Text/Text.d.ts +12 -0
- package/dist/components/Text/Text.d.ts.map +1 -0
- package/dist/components/Text/index.css +65 -0
- package/dist/components/Text/index.d.ts +3 -0
- package/dist/components/Text/index.d.ts.map +1 -0
- package/dist/components/Text/index.js +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/index.css +741 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/store/fluidMode.d.ts +37 -0
- package/dist/store/fluidMode.d.ts.map +1 -0
- package/dist/store/fluidMode.js +1 -0
- package/dist/storybook/decorator.d.ts +3 -0
- package/dist/storybook/decorator.d.ts.map +1 -0
- package/dist/themes/layout.d.ts +3 -0
- package/dist/themes/layout.d.ts.map +1 -0
- package/dist/themes/ostrovok/index.css +8 -0
- package/dist/themes/ostrovok/index.d.ts +9 -0
- package/dist/themes/ostrovok/index.d.ts.map +1 -0
- package/dist/themes/ostrovok/index.js +1 -0
- package/dist/themes/ostrovok/ostrovok.d.ts +64 -0
- package/dist/themes/ostrovok/ostrovok.d.ts.map +1 -0
- package/dist/themes/ostrovok/ostrovok.js +1 -0
- package/dist/utils/classes.d.ts +2 -0
- package/dist/utils/classes.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/isValidEmail.d.ts +2 -0
- package/dist/utils/isValidEmail.d.ts.map +1 -0
- package/dist/utils/throttle.d.ts +2 -0
- package/dist/utils/throttle.d.ts.map +1 -0
- 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 @@
|
|
|
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"}
|