@open-file-viewer/core 0.1.0 → 0.1.2

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/dist/style.css CHANGED
@@ -92,6 +92,10 @@
92
92
  }
93
93
 
94
94
  .ofv-toolbar button {
95
+ display: inline-flex;
96
+ align-items: center;
97
+ justify-content: center;
98
+ gap: 6px;
95
99
  flex: 0 1 auto;
96
100
  min-width: 0;
97
101
  cursor: pointer;
@@ -100,6 +104,31 @@
100
104
  white-space: nowrap;
101
105
  }
102
106
 
107
+ .ofv-toolbar-icon {
108
+ display: inline-flex;
109
+ flex: 0 0 auto;
110
+ align-items: center;
111
+ justify-content: center;
112
+ }
113
+
114
+ .ofv-toolbar-icon svg {
115
+ display: block;
116
+ width: 1em;
117
+ height: 1em;
118
+ }
119
+
120
+ .ofv-toolbar-label {
121
+ min-width: 0;
122
+ overflow: hidden;
123
+ text-overflow: ellipsis;
124
+ }
125
+
126
+ .ofv-react-toolbar,
127
+ .ofv-vue-toolbar,
128
+ .ofv-vue-toolbar-content {
129
+ display: contents;
130
+ }
131
+
103
132
  .ofv-toolbar button:hover {
104
133
  background: var(--ofv-button-hover);
105
134
  }
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@open-file-viewer/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Framework-agnostic browser file preview core.",
5
+ "license": "MIT",
5
6
  "type": "module",
6
7
  "homepage": "https://open-file-viewer-workspace.void.app",
7
8
  "repository": {
@@ -26,7 +27,8 @@
26
27
  }
27
28
  },
28
29
  "files": [
29
- "dist"
30
+ "dist",
31
+ "README.md"
30
32
  ],
31
33
  "publishConfig": {
32
34
  "access": "public"