@fluid-topics/ft-top-bar 1.4.5 → 2.0.0

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { customElement } from "@fluid-topics/ft-wc-utils";
2
+ import { FtTopBar } from "./ft-top-bar";
3
+ customElement("ft-top-bar")(FtTopBar);
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var _=Object.create;var x=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var H=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var V=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of G(t))!R.call(e,o)&&o!==i&&x(e,o,{get:()=>t[o],enumerable:!(n=j(t,o))||n.enumerable});return e};var a=(e,t,i)=>(i=e!=null?_(H(e)):{},V(t||!e||!e.__esModule?x(i,"default",{value:e,enumerable:!0}):i,e));var f=h((C,y)=>{y.exports=ftGlobals.wcUtils});var g=h((E,u)=>{u.exports=ftGlobals.lit});var v=h((P,b)=>{b.exports=ftGlobals.litDecorators});var $=a(f());var F=a(g()),d=a(v()),O=a(f());var S=a(g()),r=a(f()),m={colorSurface:r.FtCssVariableFactory.external(r.designSystemVariables.colorSurface,"Design system"),elevation02:r.FtCssVariableFactory.external(r.designSystemVariables.elevation02,"Design system"),titleFont:r.FtCssVariableFactory.external(r.designSystemVariables.titleFont,"Design system"),colorOnSurfaceHigh:r.FtCssVariableFactory.external(r.designSystemVariables.colorOnSurfaceHigh,"Design system")},w=S.css`
1
+ "use strict";(()=>{var _=Object.create;var x=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var H=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var V=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of G(t))!R.call(e,o)&&o!==i&&x(e,o,{get:()=>t[o],enumerable:!(n=j(t,o))||n.enumerable});return e};var a=(e,t,i)=>(i=e!=null?_(H(e)):{},V(t||!e||!e.__esModule?x(i,"default",{value:e,enumerable:!0}):i,e));var p=h((C,y)=>{y.exports=ftGlobals.wcUtils});var g=h((E,u)=>{u.exports=ftGlobals.lit});var v=h((P,b)=>{b.exports=ftGlobals.litDecorators});var $=a(p());var F=a(g()),d=a(v()),O=a(p());var S=a(g()),r=a(p()),m={colorSurface:r.FtCssVariableFactory.external(r.designSystemVariables.colorSurface,"Design system"),elevation02:r.FtCssVariableFactory.external(r.designSystemVariables.elevation02,"Design system"),titleFont:r.FtCssVariableFactory.external(r.designSystemVariables.titleFont,"Design system"),colorOnSurfaceHigh:r.FtCssVariableFactory.external(r.designSystemVariables.colorOnSurfaceHigh,"Design system")},w=S.css`
2
2
  :host {
3
3
  display: block;
4
4
  position: absolute;
@@ -49,7 +49,7 @@
49
49
  align-items: center;
50
50
  min-width: 0;
51
51
  }
52
- `;var D=function(e,t,i,n){var o=arguments.length,s=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,n);else for(var c=e.length-1;c>=0;c--)(p=e[c])&&(s=(o<3?p(s):o>3?p(t,i,s):p(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s},l=class extends O.FtLitElement{constructor(){super(...arguments),this.title="",this.heading=""}render(){return F.html`
52
+ `;var D=function(e,t,i,n){var o=arguments.length,s=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,i,n);else for(var c=e.length-1;c>=0;c--)(f=e[c])&&(s=(o<3?f(s):o>3?f(t,i,s):f(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s},l=class extends O.FtLitElement{constructor(){super(...arguments),this.title="",this.heading=""}render(){return F.html`
53
53
  <div id="container">
54
54
  <div id="left">
55
55
  <span class="title" ?hidden=${!this.title&&!this.heading}>${this.heading||this.title}</span>
package/build/index.js CHANGED
@@ -1,6 +1,3 @@
1
- import { customElement } from "@fluid-topics/ft-wc-utils";
2
- import { FtTopBar } from "./ft-top-bar";
3
1
  export * from "./ft-top-bar";
4
2
  export * from "./ft-top-bar.styles";
5
3
  export * from "./ft-top-bar.properties";
6
- customElement("ft-top-bar")(FtTopBar);
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
- "name": "@fluid-topics/ft-top-bar",
3
- "version": "1.4.5",
4
- "description": "A top bar for FT admin screens",
5
- "keywords": [
6
- "Lit"
7
- ],
8
- "author": "Fluid Topics <devtopics@antidot.net>",
9
- "license": "ISC",
10
- "main": "build/index.js",
11
- "web": "build/ft-top-bar.min.js",
12
- "typings": "build/index",
13
- "files": [
14
- "build/**/*.ts",
15
- "build/**/*.js"
16
- ],
17
- "repository": {
18
- "type": "git",
19
- "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
- },
21
- "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.4.5",
23
- "lit": "3.1.0"
24
- },
25
- "gitHead": "efdc859657751cd9e7af2736f3783341ffd6aae4"
2
+ "name": "@fluid-topics/ft-top-bar",
3
+ "version": "2.0.0",
4
+ "description": "A top bar for FT admin screens",
5
+ "keywords": [
6
+ "Lit"
7
+ ],
8
+ "author": "Fluid Topics <devtopics@antidot.net>",
9
+ "license": "ISC",
10
+ "main": "build/index.js",
11
+ "web": "build/ft-top-bar.min.js",
12
+ "typings": "build/index",
13
+ "files": [
14
+ "build/**/*.ts",
15
+ "build/**/*.js"
16
+ ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
+ },
21
+ "dependencies": {
22
+ "@fluid-topics/ft-wc-utils": "2.0.0",
23
+ "lit": "3.1.0"
24
+ },
25
+ "gitHead": "139801842483cdd25e6c0d850431dfb2b930f394"
26
26
  }